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

Function assert

static/katex/katex.js:358–364  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

356};
357
358var assert = function assert(value) {
359 if (!value) {
360 throw new Error('Expected non-null, but got ' + String(value));
361 }
362
363 return value;
364};
365/* harmony default export */ var utils = ({
366 contains: contains,
367 deflt: deflt,

Callers 1

katex.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected