Skip to main content

CELInverse

Defined in: expr/src/functions/cel.ts:32

Inverse of defaultCELSerializers for the import direction (parsing). operators maps CEL arithmetic node types (Addition, Subtraction, Multiplication, Division, Modulo) to fn keys; functions maps CEL FunctionCall names to fn keys (empty by default — custom only). The min/max emulated templates ((a < b ? a : b) / (a > b ? a : b)) are recovered structurally, not via this registry.

Note: abs, upper, and lower are not invertible — the CEL grammar does not parse the unary-minus (-x) in the abs template nor the empty-argument .upperAscii()/.lowerAscii() method calls the exporters emit.

Properties

functions

functions: Record<string, string>

Defined in: expr/src/functions/cel.ts:34


operators

operators: Record<string, string>

Defined in: expr/src/functions/cel.ts:33


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.