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

Function makeRow

static/katex/katex.mjs:6829–6835  ·  view source on GitHub ↗
(body)

Source from the content-addressed store, hash-verified

6827 */
6828
6829const makeRow = function makeRow(body) {
6830 if (body.length === 1) {
6831 return body[0];
6832 } else {
6833 return new mathMLTree.MathNode("mrow", body);
6834 }
6835};
6836/**
6837 * Returns the math variant as a string or null if none is required.
6838 */

Callers 3

buildExpressionRowFunction · 0.85
katex.mjsFile · 0.85
mathmlBuilder$6Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected