Generates the result(s) of performing a logical XOR (exclusive OR) operation on multiple values (or multiple pairs of values).
<xor true,false> generates true.
<xor true,true,true> generates false.
<xor true,false with=true> generates false,true.
<xor true,false with=false> generates true,false.
<xor true with=false,true,false> generates true,false,true.
<xor true,true,false with={},{something},150> generates true,false,true.
A list of values, each of which is treated as true or false.
When the xor tag is complete, it evaluates the values in its primary field (and the with field if used), and generates 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.