Functions Index :: X :: Xor2
Module:
Definition:
Xor2(val x1, val x2)
Description:
Returns the result of the XOR (exclusive or) of its arguments. [1]
Examples:
b1 = Xor2(true,true) # b1 == false
b2 = Xor2(true,false) # b2 == true
b3 = Xor2(false,true) # b3 == true
b4 = Xor2(false,false) # b4 == false
[1]: The function is provided as a building block of more complex functions, particularly for operations on arrays. See the documentation of the array package and the ArrayOpFunc, ArrayOpArrayFunc and ArraySum functions.