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

Function isWordChar

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

Source from the content-addressed store, hash-verified

142697 return ch >= 48 /* CharacterCodes._0 */ && ch <= 57 /* CharacterCodes._9 */;
142698 }
142699 function isWordChar(ch) {
142700 return isUpperCaseLetter(ch) || isLowerCaseLetter(ch) || isDigit(ch) || ch === 95 /* CharacterCodes._ */ || ch === 36 /* CharacterCodes.$ */;
142701 }
142702 function breakPatternIntoTextChunks(pattern) {
142703 var result = [];
142704 var wordStart = 0;

Callers 1

Calls 3

isUpperCaseLetterFunction · 0.85
isLowerCaseLetterFunction · 0.85
isDigitFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…