Checks if a number is a power of two.
input value
true if value is power of two
true
isPow2
PIXI.utils
Checks if a number is a power of two.