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

Function isDigit

src/extraction/languages/cpp-brace-scopes.ts:97–97  ·  view source on GitHub ↗
(c: number)

Source from the content-addressed store, hash-verified

95const isWordStart = (c: number): boolean =>
96 (c >= 97 && c <= 122) || (c >= 65 && c <= 90) || c === 95 || c === 36 || c >= 128;
97const isDigit = (c: number): boolean => c >= 48 && c <= 57;
98const isWordChar = (c: number): boolean => isWordStart(c) || isDigit(c);
99const RAW_STRING_PREFIX = /^(?:u8|[uUL])?R$/;
100// A raw string's delimiter: up to 16 printable ASCII characters but `"`, `(`, `)` and `\`.

Callers 2

isWordCharFunction · 0.85
scanCppBraceScopesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected