infix or
1 | language documentation Operators |
1.1 | (Operators) infix or |
Documentation for infix or
assembled from the following types:
language documentation Operators
From Operators
(Operators) infix or
Same as infix ||
, except with looser precedence.
Returns the first argument that evaluates to True
in boolean context, or otherwise the last argument, it short-circuits. Please note that or
is easy to misuse. See traps.