wgblas
    Preparing search index...

    Function median

    • Returns the median value of a numeric array. Copies the array before sorting so the original is not mutated.

      Parameters

      • arr: any

        array of numbers

      Returns any

      the median value