Note: information on this page refers to Ceylon 1.0, not to the current release.
&&= (and assign) operator
The right-associative, binary infix
&&= operator is used to compute the
logical and of two operands, assigning the result to the left-hand operand.
variable Boolean a = true; Boolean b = false; a &&= b; // a becomes false
&&= operator is defined as:
if (lhs) lhs =rhs else false
See the language specification for more details.
&& operator is not polymorphic.
The result type of the
&&= operator is