is-power-of-two
Test whether a number is power of two.
var isPOT = === true === true === false
Usage
powerOfTwo(number)
If the given number
is greater than 0 and a power of 2, returns true. Otherwise returns false.
See Also
License
MIT, see LICENSE.md for details.