(text: string)
| 240 | } |
| 241 | |
| 242 | function stripQuotes(text: string): string { |
| 243 | return text.length >= 2 && |
| 244 | ((text[0] === '"' && text.at(-1) === '"') || |
| 245 | (text[0] === "'" && text.at(-1) === "'")) |
| 246 | ? text.slice(1, -1) |
| 247 | : text |
| 248 | } |
no outgoing calls
no test coverage detected