Skip to content
1 min read · 35 words

Variable: textEscapeTool

ts
const textEscapeTool: Tool<SpooledArtifact>;

Defined in: batteries/tools/encoding/index.ts:107

Escape or unescape special characters for a target context.

Remarks

Supports json_string, regex, csv_field, sql_like, and markdown targets. Returns an error string for unknown targets rather than throwing.