MCPcopy Create free account
hub / github.com/Effect-TS/effect / linesSeparated

Function linesSeparated

packages/effect/src/String.ts:1200–1200  ·  view source on GitHub ↗
(self: string, stripped: boolean)

Source from the content-addressed store, hash-verified

1198const isLineBreak2 = (char0: string, char1: string): boolean => char0.charCodeAt(0) === CR && char1.charCodeAt(0) === LF
1199
1200const linesSeparated = (self: string, stripped: boolean): LinesIterator => new LinesIterator(self, stripped)
1201
1202/**
1203 * Normalizes a string by splitting it into word parts, transforming each part,

Callers 2

linesIteratorFunction · 0.85
linesWithSeparatorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected