Preparing search index...
The search index is not available
melonjs
melonjs
math
isPowerOfTwo
Function isPowerOfTwo
is
Power
Of
Two
(
val
)
:
boolean
returns true if the given value is a power of two
Parameters
val
:
number
number to test
Returns
boolean
true if number is a power of two
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
melonjs
Loading...
returns true if the given value is a power of two