Asserts int > 0.
int > 0
pub fn isPowerOfTwo(int: anytype) bool
pub fn isPowerOfTwo(int: anytype) bool { assert(int > 0); return (int & (int - 1)) == 0; }