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

Function checkIdentifier

static/vuejs/vue.js:8915–8919  ·  view source on GitHub ↗
(ident, type, text, errors)

Source from the content-addressed store, hash-verified

8913}
8914
8915function checkIdentifier (ident, type, text, errors) {
8916 if (typeof ident === 'string' && !identRE.test(ident)) {
8917 errors.push(("invalid " + type + " \"" + ident + "\" in expression: " + (text.trim())));
8918 }
8919}
8920
8921function checkExpression (exp, text, errors) {
8922 try {

Callers 1

checkForFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected