MCPcopy
hub / github.com/FlowiseAI/Flowise / handleEscapeCharacters

Function handleEscapeCharacters

packages/components/src/utils.ts:717–722  ·  view source on GitHub ↗
(input: any, reverse: Boolean)

Source from the content-addressed store, hash-verified

715}
716
717export function handleEscapeCharacters(input: any, reverse: Boolean): any {
718 const type = typeof input
719 if (type === 'string') return handleEscapesJSONParse(input, reverse)
720 else if (type === 'object') return iterateEscapesJSONParse(input, reverse)
721 return input
722}
723
724/**
725 * Get user home dir

Callers 15

constructorMethod · 0.90
initMethod · 0.90
initMethod · 0.90
executeFuncMethod · 0.90
initMethod · 0.90
initMethod · 0.90
initMethod · 0.90
initMethod · 0.90
initMethod · 0.90
initMethod · 0.90
initMethod · 0.90
initMethod · 0.90

Calls 2

handleEscapesJSONParseFunction · 0.85
iterateEscapesJSONParseFunction · 0.85

Tested by

no test coverage detected