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

Function isNumberStart

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

Source from the content-addressed store, hash-verified

10}
11
12function isNumberStart(char) {
13 return /[0-9]/.test(char);
14}
15
16function isOperator(char) {
17 return "=+-*/<>|&!?:".includes(char);

Callers 1

tokenizeCodeLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected