Returns the median of an array anArray using the so-called "Median of
medians" algorithm. This function uses the findMedianByPick and
findMedianFast functions.
Parameters
anArray: any[]
the array to consider
Returns any
the median of anArray, or undefined if the array is
Returns the median of an array
anArrayusing the so-called "Median of medians" algorithm. This function uses thefindMedianByPickandfindMedianFastfunctions.