(input: string | undefined)
| 3 | import { isComparisonModel } from "./comparisonModels"; |
| 4 | |
| 5 | export function escapeString(input: string | undefined) { |
| 6 | // Remove first and last character, which are quotes |
| 7 | return JSON.stringify(input || "").slice(1, -1); |
| 8 | } |
| 9 | |
| 10 | export function escapeLikeString(input: string | undefined) { |
| 11 | return escapeString(escapeString(input || "")); |
no outgoing calls
no test coverage detected