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

Function isReserved

static/vuejs/vue.js:367–370  ·  view source on GitHub ↗

* Check if a string starts with $ or _

(str)

Source from the content-addressed store, hash-verified

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

Callers 1

initDataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected