xorBits()

Finds the bitwise xor of two numbers.

This function is valid in v2.12.0 to v2.13.1. This function has been downloaded 15 times.

Parameters

{number} number1
Number to be xored against number2.
{number=} number2 Optional
Number to be xored against number1.

Returns

{number|Function}
If number1 and number2 are given a bitwise xor will be executed on both and returned. Otherwise a partial function will be returned which when called will accept one number and will return a number which is the result of using bitwise xor on number1 and the number passed to this partial function.

Required Function

This function requires the following function which is included automatically:

  • lt()
    Determines if one value is less than another value.