Function: createEvalContext()
function createEvalContext(partial?): EvalContext;
Defined in: packages/core/src/expr/dataset.ts:115
Complete an EvalContext from a partial one. Defaults: empty data/scope/meta,
the default function registry, rel coercion, everything relevant, a 100k-step
/ 10 ms budget and a no-op diagnostic sink.
Pass a frozen clock to make now()/today()/age() deterministic; the
budget deadline is derived from that same clock, so a frozen clock never
expires mid-test.
Parameters
| Parameter | Type |
|---|---|
partial | Partial<EvalContext> |