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

Function isLineBreak2

packages/effect/src/String.ts:1198–1198  ·  view source on GitHub ↗
(char0: string, char1: string)

Source from the content-addressed store, hash-verified

1196 * (i.e. `"\r\n"`).
1197 */
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

Callers 1

nextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected