Skip to main content

defaultOperatorNegationMap

const defaultOperatorNegationMap: object

Map of default operators to their respective opposite/negating operators.

Type declaration

!=

!=: "=" = '='

<

<: ">=" = '>='

<=

<=: ">" = '>'

=

=: "!=" = '!='

>

>: "<=" = '<='

>=

>=: "<" = '<'

beginsWith

beginsWith: "doesNotBeginWith" = 'doesNotBeginWith'

between

between: "notBetween" = 'notBetween'

contains

contains: "doesNotContain" = 'doesNotContain'

doesNotBeginWith

doesNotBeginWith: "beginsWith" = 'beginsWith'

doesNotContain

doesNotContain: "contains" = 'contains'

doesNotEndWith

doesNotEndWith: "endsWith" = 'endsWith'

endsWith

endsWith: "doesNotEndWith" = 'doesNotEndWith'

in

in: "notIn" = 'notIn'

notBetween

notBetween: "between" = 'between'

notIn

notIn: "in" = 'in'

notNull

notNull: "null" = 'null'

null

null: "notNull" = 'notNull'

Defined in

packages/react-querybuilder/src/defaults.ts:159


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.