Applies from Version: | WEBcnx 2024.1 | Applies to Version: |
Description
The NOT function returns the opposite value of a Boolean parameter.
Syntax
NOT(bool)
The NOT function has the following argument:
- bool Required. The boolean value we want to invert.
Returns
A Boolean
Remarks
- Returns True if its parameter evaluates to false, false if its parameter evaluates to true.
Examples
Imagine we have two distance fields in an Item Type, with the identifiers Height and Width.
Expression | Description | Result |
---|---|---|
NOT(True) | Checks if True is not true | False |
NOT(False) | Checks if False is not true | True |
NOT(Height.IsNull) | Checks if Height has a value | True if Height has a value, False if not |
NOT(Width > 10) | Checks if Width is 10 or lower | True or False, depending on Task Values |