phaser - v4.0.0-rc.4
    Preparing search index...
    • Tests the value and returns true if it is a power of two.

      Parameters

      • value: number

        The value to check if it's a power of two.

      Returns boolean