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

Function isAlphaNumeric

deps/v8/test/intl/assert.js:224–228  ·  view source on GitHub ↗
(code)

Source from the content-addressed store, hash-verified

222
223 function charCode(char) { return char.charCodeAt(0); }
224 function isAlphaNumeric(code) {
225 return (charCode("0") <= code && code <= charCode("9")) ||
226 (charCode("A") <= code && code <= charCode("Z")) ||
227 (charCode("a") <= code && code <= charCode("z"));
228 }
229
230 const MATCH_SUBTAG = 0;
231 const MATCH_SINGLETON_OR_SUBTAG = 1;

Callers 1

splitLanguageTagFunction · 0.85

Calls 1

charCodeFunction · 0.85

Tested by

no test coverage detected