arcade-physics
Version:
Use Arcade Physics without Phaser.
18 lines • 605 B
TypeScript
export default IsValuePowerOfTwo;
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Tests the value and returns `true` if it is a power of two.
*
* @function Phaser.Math.Pow2.IsValue
* @since 3.0.0
*
* @param {number} value - The value to check if it's a power of two.
*
* @return {boolean} Returns `true` if `value` is a power of two, otherwise `false`.
*/
declare function IsValuePowerOfTwo(value: number): boolean;
//# sourceMappingURL=IsValuePowerOfTwo.d.ts.map