MCPcopy
hub / github.com/KaTeX/KaTeX / defineMacro

Function defineMacro

src/defineMacro.ts:122–124  ·  view source on GitHub ↗
(name: string, body: MacroDefinition)

Source from the content-addressed store, hash-verified

120
121// This function might one day accept an additional argument and do more things.
122export default function defineMacro(name: string, body: MacroDefinition) {
123 _macros[name] = body;
124}

Callers 4

macros.tsFile · 0.85
array.tsFile · 0.85
phantom.tsFile · 0.85
operatorname.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…