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

Function checkSymbolNodeType

static/katex/katex.js:6077–6084  ·  view source on GitHub ↗

* Returns the node more strictly typed iff it is of the given type. Otherwise, * returns null.

(node)

Source from the content-addressed store, hash-verified

6075 */
6076
6077function checkSymbolNodeType(node) {
6078 if (node && (node.type === "atom" || NON_ATOMS.hasOwnProperty(node.type))) {
6079 // $FlowFixMe
6080 return node;
6081 }
6082
6083 return null;
6084}
6085// CONCATENATED MODULE: ./src/spacingData.js
6086/**
6087 * Describes spaces between different classes of atoms.

Callers 3

assertSymbolNodeTypeFunction · 0.70
checkDelimiterFunction · 0.70
katex.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected