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

Function assert

static/katex/katex.mjs:232–238  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

230};
231
232const assert = function assert(value) {
233 if (!value) {
234 throw new Error('Expected non-null, but got ' + String(value));
235 }
236
237 return value;
238};
239var utils = {
240 contains,
241 deflt,

Callers 1

katex.mjsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected