effect-io-ai

Package: effect
Module: String

String.linesWithSeparators

Returns an IterableIterator which yields each line contained within the string as well as the trailing newline character.

Signature

declare const linesWithSeparators: (s: string) => LinesIterator

Source

Since v2.0.0