Skip to content
1 min read · 59 words

Type Alias: PredicateOp

ts
type PredicateOp =
  | "eq"
  | "ne"
  | "lt"
  | "lte"
  | "gt"
  | "gte"
  | "in"
  | "contains"
  | "truthy"
  | "exists";

Defined in: src/batteries/orchestration/predicates.ts:13

The closed set of comparison operators a structured predicate leaf may name.

truthy and exists take no value; every other operator requires one. The set is CLOSED — parseStructuredPredicate refuses any other string with a model-addressed reason naming the legal set, so a branch/select author cannot smuggle an operator no cell implements.