Function: createJexlCell()
ts
function createJexlCell(options?: JexlCellOptions): PredicateEvaluator;Defined in: src/batteries/orchestration/cells/jexl.ts:201
Create the jexl predicate cell.
The cell treats a branch/select node's predicate as a JEXL expression source string. load lazily resolves the optional jexl peer and registers the closed transform allowlist; load and validate run the dialect lint and a parse attempt so a syntax error surfaces at freeze rather than mid-run; evaluate synchronously evaluates the source against a marshalled snapshot of the outputs.
Parameters
| Parameter | Type | Description |
|---|---|---|
options? | JexlCellOptions | optional cell configuration (the closed transform allowlist). |
Returns
a PredicateEvaluator whose id is 'jexl'.