Function clearBit

  • Clears the bit at the given position.

    Parameters

    • number: number

      the number to update

    • bitPosition: number

      the bit position to update from the least significant bit (0) to most significant bit (31)

    Returns number