Skip to main content

OperatorByValue<N>

OperatorByValue<N>: WithUnknownIndex<SetOptional<BaseFullOption<N>, "name"> & HasOptionalClassName & object>

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 ParameterDefault type
N extends stringstring

Defined in

packages/react-querybuilder/src/types/basic.ts:252


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.