Skip to content

consumeLineBreak

consumeLineBreak(text, start): number | null

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/toolCallRepair/grammar.ts:71

Consumes either Unix or Windows line endings and returns the first offset after them.

string

number

number | null