Added in 1.9.0

$isbit(A,N)

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

Supports Big Integers

Parameters

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