(value: string)
| 43 | } |
| 44 | |
| 45 | const isQuoted = (value: string): boolean => |
| 46 | value.length >= 2 && |
| 47 | ((value.startsWith("\"") && value.endsWith("\"")) || |
| 48 | (value.startsWith("'") && value.endsWith("'"))) |
| 49 | |
| 50 | const unquote = (input: string | undefined): string => { |
| 51 | let value = (input ?? "").trim() |