Skip to content
1 min read · 41 words

Variable: textLinesTool

ts
const textLinesTool: Tool<SpooledArtifact>;

Defined in: batteries/tools/text_analysis/index.ts:101

Operate on text treated as a list of lines.

Remarks

Operations: sort, sort_desc, reverse, deduplicate, filter_empty, trim_each, number (prefix each line with 1., 2., …), count. Sort and deduplicate respect the optional case_insensitive flag.