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

Function checkIdentifier

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

Source from the content-addressed store, hash-verified

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

Callers 1

checkForFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected