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

Function isHexDigit

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

Source from the content-addressed store, hash-verified

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 }
10433 function isCodePoint(code) {
10434 return code <= 0x10FFFF;
10435 }

Callers 1

scanEscapeSequenceFunction · 0.85

Calls 1

isDigitFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…