MCPcopy
hub / github.com/witheve/Eve / isWordChar

Function isWordChar

src/codemirror.js:8384–8388  ·  view source on GitHub ↗
(ch, helper)

Source from the content-addressed store, hash-verified

8382 (ch.toUpperCase() != ch.toLowerCase() || nonASCIISingleCaseWordChar.test(ch));
8383 };
8384 function isWordChar(ch, helper) {
8385 if (!helper) return isWordCharBasic(ch);
8386 if (helper.source.indexOf("\\w") > -1 && isWordCharBasic(ch)) return true;
8387 return helper.test(ch);
8388 }
8389
8390 function isEmpty(obj) {
8391 for (var n in obj) if (obj.hasOwnProperty(n) && obj[n]) return false;

Callers 2

findPosHFunction · 0.85
codemirror.jsFile · 0.85

Calls 1

testMethod · 0.45

Tested by

no test coverage detected