Binary Operator "or"

QuantScript's binary

operator implements logical disjunction.


1 true or true # -> true
2 true or false # -> true
3 false or true # -> true
4 false or false # -> false
5 true or true or true # -> true
6 true or true or false # -> true

Table of Operands

Anything not listed here results in an Unknown.
This operator is commutative -

x or y
is the same as
y or x
This operator is type-commutative - the type of
x or y
is the same as the type of
y or x
This operator is left associative -
x or y or z
is the same as
(x or y) or z

Left OperandOperatorRight OperandResult