MCPcopy Create free account
hub / github.com/breck7/scroll / isAtomChar

Function isAtomChar

external/.scrollLibs.js:794–802  ·  view source on GitHub ↗
(ch, helper)

Source from the content-addressed store, hash-verified

792 return /\w/.test(ch) || (ch > "\x80" && (ch.toUpperCase() != ch.toLowerCase() || nonASCIISingleCaseAtomChar.test(ch)))
793 }
794 function isAtomChar(ch, helper) {
795 if (!helper) {
796 return isAtomCharBasic(ch)
797 }
798 if (helper.source.indexOf("\\w") > -1 && isAtomCharBasic(ch)) {
799 return true
800 }
801 return helper.test(ch)
802 }
803
804 function isEmpty(obj) {
805 for (var n in obj) {

Callers 2

addEditorMethodsFunction · 0.85
findPosHFunction · 0.85

Calls 2

isAtomCharBasicFunction · 0.85
indexOfMethod · 0.80

Tested by

no test coverage detected