• Calculates the median of an array.

    Parameters

    • input: NumberArray

      Array containing values

    Returns number

    • median