pixi.js
    Preparing search index...

    Function isPow2

    • Function Advanced

      Checks if a number is a power of two. isPow2

      Parameters

      • v: number

        input value

      Returns boolean

      true if value is power of two