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

Function assertSymbolDomNode

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

Source from the content-addressed store, hash-verified

1396
1397}
1398function assertSymbolDomNode(group) {
1399 if (group instanceof SymbolNode) {
1400 return group;
1401 } else {
1402 throw new Error(`Expected symbolNode but got ${String(group)}.`);
1403 }
1404}
1405function assertSpan(group) {
1406 if (group instanceof Span) {
1407 return group;

Callers 1

htmlBuilderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected