Math.isPowerOfFour
isPowerOfFour(val: number) → {boolean}
returns true if the given value is a power of four
Name | Type | Description |
---|---|---|
val | number |
Type | Description |
---|---|
boolean |
isPowerOfFour(val: number) → {boolean}
returns true if the given value is a power of four
Name | Type | Description |
---|---|---|
val | number |
Type | Description |
---|---|
boolean |