Function nextPowerOfTwo

  • returns the next power of two for the given value

    Parameters

    • val: number

    Returns boolean

    Math