Produces the result(s) of performing a logical XOR (exclusive OR) operation on multiple values (or multiple pairs of values).
<or true,false>
produces true
.
<or true,true,true>
produces false
.
<or true,false with=true>
produces false,true
.
<or true,false with=false>
produces true,false
.
<or true with=false,true,false>
produces true,false,true
.
<or true,true,false with={},{something},150>
produces true,false,true
.
When the xor tag is complete, it evaluates the values in its primary field (and the with field if used), and produces a resulting value (or values). The lifetime of the tag then ends.
In a logical XOR operation between two values, the result is true only if exactly one of the values evaluates to true. For the xor tag, more than 2 values may be specified in a single comparison, in which case exactly one value must evaluate to true (and all others must evaluate to false) for the result to be true.