Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
222
const
evalStr = (expr: any[]) => ce.expr(expr).evaluate().toString();
223
Callers
1
number-theory.test.ts
File · 0.70
Calls
3
toString
Method · 0.65
evaluate
Method · 0.65
expr
Method · 0.65
Tested by
no test coverage detected