• Check if a number is a power of two.

    Parameters

    • n: number

    Returns boolean