MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / isWordPart

Function isWordPart

scripts/hsr/widget-code-highlighting.mjs:8–10  ·  view source on GitHub ↗
(char)

Source from the content-addressed store, hash-verified

6}
7
8function isWordPart(char) {
9 return /[A-Za-z0-9_$]/.test(char);
10}
11
12function isNumberStart(char) {
13 return /[0-9]/.test(char);

Callers 1

tokenizeCodeLineFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected