Not function
Appearance
The Not function computes the logical negation of the input. If x is FALSE, the function returns TRUE. If x is TRUE, the function returns FALSE.
| Object information | |
|---|---|
| Owning palette(s) | Boolean palette |
| Type | Function |
| Requires | Basic Development Environment |
| Icon | |

Usage
Returns the inverted value of an Boolean or numeric input.
Boolean:
| x | output |
|---|---|
Numeric:
| Binary | Decimal | |
|---|---|---|
| x | 10101010
|
170 |
| output | 01010101
|
-171 |
Best practice
Tips and tricks
- Wire an error cluster to perform logical operations on error conditions.