MCPcopy Create free account
hub / github.com/TruthHun/BookStack / isWordChar

Function isWordChar

static/mergely/lib/codemirror.js:8352–8356  ·  view source on GitHub ↗
(ch, helper)

Source from the content-addressed store, hash-verified

8350 (ch.toUpperCase() != ch.toLowerCase() || nonASCIISingleCaseWordChar.test(ch));
8351 };
8352 function isWordChar(ch, helper) {
8353 if (!helper) return isWordCharBasic(ch);
8354 if (helper.source.indexOf("\\w") > -1 && isWordCharBasic(ch)) return true;
8355 return helper.test(ch);
8356 }
8357
8358 function isEmpty(obj) {
8359 for (var n in obj) if (obj.hasOwnProperty(n) && obj[n]) return false;

Callers 2

findPosHFunction · 0.70
codemirror.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected