MCPcopy Index your code
hub / github.com/DHTMLX/gantt / isWordChar

Function isWordChar

samples/common/codehighlight/codemirror.js:272–276  ·  view source on GitHub ↗
(ch, helper)

Source from the content-addressed store, hash-verified

270 (ch.toUpperCase() != ch.toLowerCase() || nonASCIISingleCaseWordChar.test(ch))
271 }
272 function isWordChar(ch, helper) {
273 if (!helper) { return isWordCharBasic(ch) }
274 if (helper.source.indexOf("\\w") > -1 && isWordCharBasic(ch)) { return true }
275 return helper.test(ch)
276 }
277
278 function isEmpty(obj) {
279 for (var n in obj) { if (obj.hasOwnProperty(n) && obj[n]) { return false } }

Callers 2

addEditorMethodsFunction · 0.85
findPosHFunction · 0.85

Calls 1

isWordCharBasicFunction · 0.85

Tested by

no test coverage detected