NOT
- Last UpdatedJan 11, 2023
- 1 minute read
- PI System
- PI Server 2024 R2
- PI Server
Return the negation of an expression. Return True if the truth value of an expression is false and False if the truth value of an expression is true.
Syntax
NOT expression
Arguments
-
expression
Any expression that evaluates to true or false
Returns
True when the expression is false and False when the expression is true
Exceptions
None
Example
-
NOT (1 In (1...10))
[Returns False since (1 In (1...10)) is true]