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