testBit package:foundation

x `testBit` i is the same as x .&. bit n /= 0 In other words it returns True if the bit at offset @n is set. Can be implemented using testBitDefault if a is also an instance of Num.