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

Function custom

test/compute-engine/expression-api.test.ts:144–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142 const defaultCost = engine.costFunction;
143
144 const custom = () => 42;
145 engine.costFunction = custom;
146 expect(engine.costFunction).toBe(custom);
147

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected