---
url: >-
  https://adk.nht.io/api/batteries/orchestration/cells/jexl/functions/createJexlCell.md
---

# Function: createJexlCell()

```ts
function createJexlCell(options?: JexlCellOptions): PredicateEvaluator;
```

Defined in: [src/batteries/orchestration/cells/jexl.ts:201](https://github.com/NHTIO/ADK/blob/v1.20260906.0/src/src/batteries/orchestration/cells/jexl.ts#L201)

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`](../interfaces/JexlCellOptions.md) | optional cell configuration (the closed transform allowlist). |

## Returns

[`PredicateEvaluator`](../../../../../@nhtio/adk/batteries/orchestration/types/interfaces/PredicateEvaluator.md)

a [PredicateEvaluator](../../../../../@nhtio/adk/batteries/orchestration/types/interfaces/PredicateEvaluator.md) whose `id` is `'jexl'`.
