2 raised to the given numeric power, or null if not given.

  • Parameters

    • Optionalscale: number

      The power to raise 2 to.

    Returns null | number

    2 raised to the given numeric power, or null if not given.