AND
- Last UpdatedJan 11, 2023
- 1 minute read
- PI System
- PI Server 2018
- PI Server
The logical conjunction of two expressions that returns True if both expressions are true and False otherwise.
Syntax
expression1 AND expression2
Arguments
-
expression1, expression2
Any expression that evaluates to true or false
Returns
True if both expressions are true (non-zero) and False (zero) otherwise
Exceptions
None
Notes
If the inputs are numeric, AND can do bitwise operations.
Example
-
('att1' > 50) AND ('att2' = "good")