MCPcopy Index your code
hub / github.com/nodejs/node / isDigit

Function isDigit

test/fixtures/snapshot/typescript.js:10427–10429  ·  view source on GitHub ↗
(ch)

Source from the content-addressed store, hash-verified

10425 }
10426 ts.isLineBreak = isLineBreak;
10427 function isDigit(ch) {
10428 return ch >= 48 /* CharacterCodes._0 */ && ch <= 57 /* CharacterCodes._9 */;
10429 }
10430 function isHexDigit(ch) {
10431 return isDigit(ch) || ch >= 65 /* CharacterCodes.A */ && ch <= 70 /* CharacterCodes.F */ || ch >= 97 /* CharacterCodes.a */ && ch <= 102 /* CharacterCodes.f */;
10432 }

Callers 7

isHexDigitFunction · 0.85
scanNumberFragmentFunction · 0.85
scanEscapeSequenceFunction · 0.85
scanBinaryOrOctalDigitsFunction · 0.85
scanFunction · 0.85
isWordCharFunction · 0.85
breakIntoSpansFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…