OperatorByValue<N>
OperatorByValue<
N> =WithUnknownIndex<SetOptional<BaseFullOption<N>,"name"> &WithOptionalClassName<{arity?:Arity; }>>
Defined in: packages/core/src/types/basic.ts:276
Operator definition used in the operators/getOperators props of
QueryBuilder. This type is an extension of FullOperator
where only value and label are required.
The name/value properties of this interface can be narrowed with generics.
Type Parameters
| Type Parameter | Default type |
|---|---|
N extends string | string |
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.