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

Function ordargument

static/katex/katex.mjs:6230–6233  ·  view source on GitHub ↗
(arg)

Source from the content-addressed store, hash-verified

6228// list of elements, we normalize for different kinds of arguments
6229
6230const ordargument = function ordargument(arg) {
6231 const node = checkNodeType(arg, "ordgroup");
6232 return node ? node.body : [arg];
6233};
6234
6235/**
6236 * This file does the main work of building a domTree structure from a parse

Callers 3

handlerFunction · 0.85
katex.mjsFile · 0.85
htmlBuilderFunction · 0.85

Calls 1

checkNodeTypeFunction · 0.70

Tested by

no test coverage detected