Skip to main content

JsonLogicInverse

JsonLogicInverse = Record<string, string>

Defined in: expr/src/functions/jsonLogic.ts:29

Inverse of defaultJsonLogicSerializers: maps a JsonLogic operation object's key back to an fn key for the import direction (parsing). Two-argument operators (+ - * / %), variadic (min/max), and unary (abs/upper/lower) all share one flat key→fn map; the parser reads a node's payload as an array (or wraps a scalar) to recover its arguments.


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.