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

Function evalStr

test/compute-engine/number-theory.test.ts:220–220  ·  view source on GitHub ↗
(expr: any[])

Source from the content-addressed store, hash-verified

218 expect(nextPrime(2, -1)).toEqual('NextPrime(2, -1)');
219 });
220});
221
222const evalStr = (expr: any[]) => ce.expr(expr).evaluate().toString();
223

Callers 1

Calls 3

toStringMethod · 0.65
evaluateMethod · 0.65
exprMethod · 0.65

Tested by

no test coverage detected