(str)
| 24 | } |
| 25 | |
| 26 | export function strHasQuotes(str) { |
| 27 | if (str.length < 2) return false; |
| 28 | |
| 29 | return ( |
| 30 | (str[0] === str[str.length - 1] && str[0] === "'") || |
| 31 | (str[0] === str[str.length - 1] && str[0] === '"') || |
| 32 | (str[0] === str[str.length - 1] && str[0] === "`") |
| 33 | ); |
| 34 | } |
| 35 | |
| 36 | const keywords = [ |
| 37 | "NULL", |