Logical disjunction: OR
- Last UpdatedJul 23, 2024
- 1 minute read
Returns TRUE if at least one of the discrete operands is TRUE; otherwise, returns FALSE. The truth table for this operator is as follows:
|
p |
q |
p OR q |
|---|---|---|
|
F |
F |
F |
|
F |
T |
T |
|
T |
F |
T |
|
T |
T |
T |
Valid operands
Any Discrete value.
Data type of return value
Discrete