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

Method has

static/katex/katex.mjs:12962–12964  ·  view source on GitHub ↗

* Detect whether `name` has a definition. Equivalent to * `get(name) != null`.

(name)

Source from the content-addressed store, hash-verified

12960
12961
12962 has(name) {
12963 return this.current.hasOwnProperty(name) || this.builtins.hasOwnProperty(name);
12964 }
12965 /**
12966 * Get the current value of a name, or `undefined` if there is no value.
12967 *

Calls

no outgoing calls

Tested by

no test coverage detected