MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isSpace

Function isSpace

src/resolution/jsx-code.ts:58–59  ·  view source on GitHub ↗
(c: number)

Source from the content-addressed store, hash-verified

56const MAX_REREADS = 64;
57
58const isSpace = (c: number): boolean =>
59 c === 32 || c === 10 || c === 13 || c === 9 || c === 11 || c === 12 || c === 0xa0 || c === 0xfeff;
60const isIdStart = (c: number): boolean =>
61 (c >= 97 && c <= 122) || (c >= 65 && c <= 90) || c === 36 || c === 95 || (c > 127 && !isSpace(c));
62const isIdPart = (c: number): boolean => isIdStart(c) || (c >= 48 && c <= 57);

Callers 5

isIdStartFunction · 0.70
skipSpaceFunction · 0.70
openElementMethod · 0.70
codeMethod · 0.70
tagMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected