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

Function checkIdentifier

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

Source from the content-addressed store, hash-verified

8919}
8920
8921function checkIdentifier (ident, type, text, errors) {
8922 if (typeof ident === 'string' && !identRE.test(ident)) {
8923 errors.push(("invalid " + type + " \"" + ident + "\" in expression: " + (text.trim())));
8924 }
8925}
8926
8927function checkExpression (exp, text, errors) {
8928 try {

Callers 1

checkForFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected