MCPcopy
hub / github.com/KaTeX/KaTeX / getParsed

Function getParsed

test/helpers.ts:104–107  ·  view source on GitHub ↗
(expr: any, settings: any = new Settings())

Source from the content-addressed store, hash-verified

102 * @returns {Object}
103 */
104export function getParsed(expr: any, settings: any = new Settings()): any {
105 expr = r(expr); // support tagging literals
106 return parseTree(expr, settings);
107}
108
109export const stripPositions = (expr: any): any => {
110 if (typeof expr !== "object" || expr === null) {

Callers 2

katex-spec.tsFile · 0.90
getProtocolViaTrustFunction · 0.90

Calls 2

rFunction · 0.85
parseTreeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…