isPowerOfTwo Function
Returns whether the input is a power of two.
isPowerOfTwo(num: number): boolean
note Floating point inputs are truncated.
Parameter | Type | Description |
---|---|---|
num | number |
Defined in
Last Updated: 08 January, 2020
Woah! This page has a great deal of content... Give us a second to load it.