isPowerOfTwo

pure nothrow @nogc @safe
bool
isPowerOfTwo
(
int i
)

Return Value

Type: bool

true of i is a power of 2.

Meta