median

Returns the median of a dynamic array, optionally modifying the input in place.

Parameters

ar T[]

array