ExpressionFunctionMeta
Defined in: expr/src/types.ts:13
UI/validation metadata for a function usable in an expression. Arithmetic operators
(+ - * /) are modeled as ordinary functions. This describes only how a function
appears and how many arguments it accepts — the per-format serializers live in their
own (internal) maps, mirroring the datetime package's format-specific processors.
Properties
arity?
optionalarity?:number| [number,number]
Defined in: expr/src/types.ts:20
Fixed arity (number) or inclusive range ([min, max], e.g. [n, Infinity] for
variadic). Omit to leave the count unconstrained (any number of args, including 0).
label?
optionallabel?:string
Defined in: expr/src/types.ts:15
UI label, e.g. '×' or 'Absolute value'. Falls back to the registry key.
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.