Function isPowerOfFour

  • returns true if the given value is a power of four

    Parameters

    • val: number

    Returns boolean

    Math