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

Function isHexDigit

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

Source from the content-addressed store, hash-verified

143459 return ch >= 0x30 && ch <= 0x39; // 0..9
143460}
143461function isHexDigit(ch) {
143462 return "0123456789abcdefABCDEF".indexOf(ch) >= 0;
143463}
143464function isOctalDigit(ch) {
143465 return "01234567".indexOf(ch) >= 0;
143466} // 7.2 White Space

Callers 3

scanHexEscapeFunction · 0.70
scanHexLiteralFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected