xor

infix external fun xor(other: Boolean): Boolean(source)

Returns true when exactly one of this value and other is true.

Both operands are evaluated; this function does not short-circuit.

Return

the logical result.

Parameters

other

value to combine with this value.