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

Function skipSpace

packages/effect/src/encoding/Xml.ts:1073–1076  ·  view source on GitHub ↗
(s: string, i: number, end: number)

Source from the content-addressed store, hash-verified

1071}
1072
1073const skipSpace = (s: string, i: number, end: number): number => {
1074 while (i < end && isSpace(s.charCodeAt(i))) i++
1075 return i
1076}
1077
1078const lineEndings = /\r\n?/g
1079const attributeWhitespace = /\r\n|[\t\n\r]/g

Callers 6

resolveQNameFunction · 0.85
startTagMethod · 0.85
endTagMethod · 0.85
processingInstructionMethod · 0.85
doctypeDeclarationMethod · 0.85
spaceMethod · 0.85

Calls 1

isSpaceFunction · 0.85

Tested by

no test coverage detected