Function isPow

  • Check if a number is a power-of-n.

    Parameters

    • x: number

      a number

    • n: number

      base

    Returns boolean

    nⁱ = x? | i = +ve integer

Generated using TypeDoc