### Xor

##### xor(booleanx, booleany)

Returns a Boolean value of booleanx Exclusive OR booleany,

- if x = true and y = true, returns the value of false.
- if x = true and y = false, returns the value of true.
- if x = false and y = true, returns the value of true.
- if x = false and y = false, returns the value of false.

Parameters

- booleanx - A Boolean value.
- booleany - A Boolean value.

Return value

Boolean value.

Examples

- `xor(true, true)` - Returns false.
- `xor(true, false)` - Returns true.