xor

Logical
Name: xor

Category: Logical

Description:
    Logical exclusive or, xor. Test whether one and only one value is defined with a nonzero/nonempty value.

Syntax:
    x xor y
    xor(x, y)

Examples:
    true xor false
        true
    false xor false
        false
    true xor true
        false
    0 xor 4
        true

See also: not, and, or