MCPcopy Create free account
hub / github.com/microsoft/SandDance / isDecimalDigit

Function isDecimalDigit

docs/app/js/sanddance-app.js:143458–143460  ·  view source on GitHub ↗
(ch)

Source from the content-addressed store, hash-verified

143456 /* istanbul ignore next */ if (!condition) throw new Error("ASSERT: " + message);
143457}
143458function isDecimalDigit(ch) {
143459 return ch >= 0x30 && ch <= 0x39; // 0..9
143460}
143461function isHexDigit(ch) {
143462 return "0123456789abcdefABCDEF".indexOf(ch) >= 0;
143463}

Callers 3

scanOctalLiteralFunction · 0.70
scanNumericLiteralFunction · 0.70
advanceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected