not (Logical negation)
See also: and (Logical And), or (Logical Or), if (if, then, else)
The $not function negates the passed Boolean value (true/false). In other words: true is returned as false and false is returned as true.
Syntax
$not(a)
Parameter
Name |
Description |
a |
A Boolean value (true/false) |
Return value
The negated input value is returned.
Example
Syntax |
Result |
$not(true) |
false |
$not(false) |
true |