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

Function assertSpan

static/katex/katex.mjs:1405–1411  ·  view source on GitHub ↗
(group)

Source from the content-addressed store, hash-verified

1403 }
1404}
1405function assertSpan(group) {
1406 if (group instanceof Span) {
1407 return group;
1408 } else {
1409 throw new Error(`Expected span<HtmlDomNode> but got ${String(group)}.`);
1410 }
1411}
1412
1413// This file is GENERATED by buildMetrics.sh. DO NOT MODIFY.
1414var metricMap = {

Callers 1

htmlBuilderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected