xor(a, b)xored Type: (Boolean, Boolean) -> Boolean

Returns the exclusive-or of the two items: returns true if exactly one of the items is true, but false if both are true.

ExamplesClick an example to insert it
xor(true, true)false
xor(true, false)true
xor(false, true)true
xor(false, false)false