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

Function utils_isCharacterBox

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

Source from the content-addressed store, hash-verified

350
351
352var utils_isCharacterBox = function isCharacterBox(group) {
353 var baseElem = getBaseElem(group); // These are all they types of groups which hold single characters
354
355 return baseElem.type === "mathord" || baseElem.type === "textord" || baseElem.type === "atom";
356};
357
358var assert = function assert(value) {
359 if (!value) {

Callers

nothing calls this directly

Calls 1

getBaseElemFunction · 0.70

Tested by

no test coverage detected