isPowerOf2

@nogc pure nothrow
bool
isPowerOf2
(
T
)
(
T i
)
if (
isIntegral!T
)

Return Value

Type: bool

true of i is a power of 2.

Meta