not()
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Reverses the value of its bool
argument.
Syntax
not(
expr)
Learn more about syntax conventions.
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
print not(false) == true
Output
print_0 |
---|
true |