Skip to content

Bool Xor

Apply the Xor operator on two or more boolean values.

Inputs#

Port Description
The boolean values to apply the XOR operator on.

Outputs#

Port Description
The result of the boolean operation. true if an odd number of input values are true, false otherwise.

Addendum#

Example#

Below is the truth table for the XOR operator applied to two boolean values:

Input 1 Input 2 Output (1 XOR 2)
0 0 0
0 1 1
1 0 1
1 1 0

ID: bool-xor@v1