• The default text splitter function that splits text by newlines.

    Parameters

    • text: string

    Returns Promise<string[]>

    A promise that resolves to an array of strings split by newlines.

Generated using TypeDoc