not()
Reverses the value of its bool argument.
Syntax
not(expr)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| expr | scalar | ✓ | An expression that evaluates to a boolean value. The result of this expression will be reversed. |
Returns
Returns the reversed logical value of its bool argument.
Example
Run the query
print not(false) == trueOutput
| print_0 |
|---|
| true |