.xor
This directive takes two conditions and outputs their exclusive disjunction, that is, it returns true iff they have different boolean values.
\( a \) | \( b \) | \( a \oplus b \) |
---|---|---|
false | false | false |
false | true | true |
true | false | true |
true | true | false |