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

Function assertSymbolDomNode

static/katex/katex.js:1388–1394  ·  view source on GitHub ↗
(group)

Source from the content-addressed store, hash-verified

1386 return LineNode;
1387}();
1388function assertSymbolDomNode(group) {
1389 if (group instanceof domTree_SymbolNode) {
1390 return group;
1391 } else {
1392 throw new Error("Expected symbolNode but got " + String(group) + ".");
1393 }
1394}
1395function assertSpan(group) {
1396 if (group instanceof domTree_Span) {
1397 return group;

Callers 1

accent_htmlBuilderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected