Skip to main content

Function: truncateText()

truncateText(text, textSplitter): string

Parameters

text: string

textSplitter: TextSplitter

Returns

string

Defined in

packages/core/node-parser/dist/index.d.ts:69