not

Returns the contrary of a boolean value or return if it does not match any of the arguments.

See also $, $val, $value.

Syntax

not([value1[,value2[, ...]]])
Parameter Description
value_i Optional value or a string to be compared to.

Examples

Get the contrary of a Boolean value:

$('BooleanVar').not()
$('CategoricalVar').any('CAT1').not()

Check if a value is not any of the specified strings:

$('CategoricalVar').not('CAT1', 'CAT2')

Check if a value is not any of the specified values:

$('CategoricalVar').not($('OtherCategoricalVar'))