Returns the "exclusive or" result on a and b. Returns true if either argument is true , but not both.
xor ( a As Boolean, _ b As Boolean ) As Boolean
Argument | Type | Description |
---|---|---|
a | Boolean | The first input. |
b | Boolean | The second input. |
Intent >xor(True, True) --> False
Intent >xor(True, False) --> True
Intent >xor(False, True) --> True
Intent >xor(False, False) --> False