MCPcopy 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

1import { engine as ce } from '../utils';
2
3function box(expr: any) {
4 return ce.expr(expr).evaluate().toString();
5}
6
7describe('Logic', () => {
8 it('should evaluate True and False', () => {

Callers 1

logic.test.tsFile · 0.70

Calls 3

toStringMethod · 0.65
evaluateMethod · 0.65
exprMethod · 0.65

Tested by

no test coverage detected