Math.nextPowerOfTwo
nextPowerOfTwo(val: number) → {boolean}
returns the next power of two for the given value
Name | Type | Description |
---|---|---|
val | number |
Type | Description |
---|---|
boolean |
nextPowerOfTwo(val: number) → {boolean}
returns the next power of two for the given value
Name | Type | Description |
---|---|---|
val | number |
Type | Description |
---|---|
boolean |