negateOperator()
negateOperator(
operator:string):DefaultOperatorName|undefined
Defined in: packages/core/src/utils/formatQuery/negation.ts:32
Returns the logical negation of a DefaultOperatorName (case-insensitive), e.g.
"=" → "!=", "<" → ">=", "in" → "notIn". Returns undefined for
non-default operators.
Parameters
| Parameter | Type |
|---|---|
operator | string |
Returns
DefaultOperatorName | undefined
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.