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

Function isAtomCharBasic

external/.scrollLibs.js:791–793  ·  view source on GitHub ↗
(ch)

Source from the content-addressed store, hash-verified

789
790 var nonASCIISingleCaseAtomChar = /[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/
791 function isAtomCharBasic(ch) {
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)

Callers 1

isAtomCharFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected