Note: information on this page refers to Ceylon 1.1, not to the current release.
|| (or) operator
The left-associative, binary infix
|| operator is used to compute the
logical or of two operands.
Boolean true_ = true || false;
|| operator is defined as:
if (lhs) true else rhs
See the language specification for more details.
|| operator is not polymorphic.
The result type of the
|| operator is