Conjunction, disjunction, and inclusion operators
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2023
- PI Server
|
Operator |
Meaning |
Returns |
|---|---|---|
|
and |
conjunction |
True, if operands A and B both evaluate to true. If both A and B are integers, returns the result of a bitwise AND operation. |
|
or |
inclusive disjunction |
True, if either operand A or operand B evaluates to true. If both A and B are integers, returns the result of a bitwise OR operation. |
|
in .. |
membership in a range |
1 if true and 0 if false |
|
in () |
membership in a discrete set |
1 if true and 0 if false |