not()
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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for