infix xor

Documentation for infix xor assembled from the following types:

language documentation Operators

From Operators

(Operators) infix xor

Same as infix ^^, except with looser precedence.

Returns the operand that evaluates to True in boolean context, if and only if the other operand evaluates to False in boolean context. If both operands evaluate to False, returns the last argument. If both operands evaluate to True, returns Nil.

When chaining, returns the operand that evaluates to True, if and only if there is one such operand. If more than one operand is true, it short-circuits after evaluating the second and returns Nil. If all operands are false, returns the last one.