(input: any, reverse: Boolean)
| 706 | } |
| 707 | |
| 708 | function iterateEscapesJSONParse(input: any, reverse: Boolean): any { |
| 709 | for (const element in input) { |
| 710 | const type = typeof input[element] |
| 711 | if (type === 'string') input[element] = handleEscapesJSONParse(input[element], reverse) |
| 712 | else if (type === 'object') input[element] = iterateEscapesJSONParse(input[element], reverse) |
| 713 | } |
| 714 | return input |
| 715 | } |
| 716 | |
| 717 | export function handleEscapeCharacters(input: any, reverse: Boolean): any { |
| 718 | const type = typeof input |
no test coverage detected