(s: string)
| 54 | |
| 55 | |
| 56 | export const wrapObjectString = (s: string) => `{ ${Object.entries(safelyParseJSON(s)).map(([key, value]) => `${key}: ${value}`).join(', ')} }` |
| 57 | export const wrapParanthesis = (s: string) => s ? `(${s})` : null; |
| 58 | export const wrapQuotes = (s: string) => s ? `"${s.replace(/"/g, '\\"').replace(/\n/g, "\\n")}"` : null |
| 59 | export const unwrapParanthesis = (s: string) => { |
nothing calls this directly
no test coverage detected