Added in 1.9.0

$isbit(A,N)

Returns 1 if the Nth bit in number A is turned on.

Parameters

A - The number to check.
N - The bit to check.