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

Function nested

test/compute-engine/dictionary.test.ts:552–553  ·  view source on GitHub ↗
(leaf: Expression)

Source from the content-addressed store, hash-verified

550 const r = box(['At', dict, { str: 'depth' }] as any).evaluate();
551 expect(r.isNaN === true || r.symbol === 'Missing').toBe(true);
552 });
553
554 it('leaves a non-string index unevaluated (string keys only)', () => {
555 expect(box(['At', dict, 2] as any).evaluate().operator).toBe('At');
556 });

Callers 1

dictionary.test.tsFile · 0.85

Calls 2

dFunction · 0.85
boxFunction · 0.70

Tested by

no test coverage detected