MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / check

Function check

test/utils.ts:239–241  ·  view source on GitHub ↗
(latex: string, variants?: Array<ExprVariant>)

Source from the content-addressed store, hash-verified

237 return checkJson(engine.parse(latex, { form: 'raw' }), variants);
238}
239
240export function latex(expr: Expression | undefined | null): string {
241 if (expr === undefined) return 'UNDEFINED';
242 if (expr === null) return 'NULL';
243
244 errors = [];

Callers 8

awesome.test.tsFile · 0.90
arithmetic.test.tsFile · 0.90
operators.test.tsFile · 0.90
style.test.tsFile · 0.90
matchfix.test.tsFile · 0.90

Calls 2

checkJsonFunction · 0.85
parseMethod · 0.65

Tested by

no test coverage detected