Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortex-js/compute-engine
/ box
Function
box
test/compute-engine/logic.test.ts:3–5 ·
view source on GitHub ↗
(expr: any)
Source
from the content-addressed store, hash-verified
1
import
{ engine as ce } from
'../utils'
;
2
3
function
box(expr: any) {
4
return
ce.expr(expr).evaluate().toString();
5
}
6
7
describe(
'Logic'
, () => {
8
it(
'should evaluate True and False'
, () => {
Callers
1
logic.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