On this pagexor() xor(a): (b) => boolean Logical Exclusive Disjunction (a ^ b). Parameters a unknown The first value in the bitwise XOR. Returns Function Parameters b unknown Returns boolean See https://en.wikipedia.org/wiki/Exclusive_or Remarks pure function Example xor(true)(0);// true