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

Function isReserved

static/vuejs/vue.runtime.js:363–366  ·  view source on GitHub ↗

* Check if a string starts with $ or _

(str)

Source from the content-addressed store, hash-verified

361 * Check if a string starts with $ or _
362 */
363function isReserved (str) {
364 var c = (str + '').charCodeAt(0);
365 return c === 0x24 || c === 0x5F
366}
367
368/**
369 * Define a property.

Callers 1

initDataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected