ExpressionNode
ExpressionNode = {
field:string;kind:"field"; } | {kind:"value";value:unknown;valueType?:string; } | {kind:"parameter";parameter:string; } | {args:ExpressionNode[];fn:string;kind:"func"; }
Defined in: core/src/types/expression.ts:10
A single node in an expression tree. Expressions are recursive: a func node's
arguments are themselves ExpressionNodes, enabling arbitrary nesting.
Used by @react-querybuilder/expr for arithmetic/function expressions on a rule's
left- and right-hand sides. The core library preserves these nodes (on
RuleType.lhs and, for the right-hand side, in value when valueSource is
"expression") but does not interpret them.
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.