Skip to content
1 min read · 62 words

Variable: stringTransformTool

ts
const stringTransformTool: Tool<SpooledArtifact>;

Defined in: batteries/tools/string_processing/index.ts:158

Apply an ordered pipeline of string transformations.

Remarks

Each operation reads the previous step's output. Most operations return strings; count_* return numbers and split returns an array — once a non-string flows through, subsequent operations report an error rather than coercing. The result is always serialised to a string (arrays become JSON; numbers/booleans are stringified).