Skip to content
1 min read · 38 words

Variable: textLinesTool

ts
const textLinesTool: Tool<SpooledArtifact>;

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.