HH\Lib\Math\median

This API is part of the Hack Standard Library, not HHVM itself.

Returns the median of the given numbers

namespace HH\Lib\Math;

function median(
  Container<num> $numbers,
): ?float;

To find the mean, see Math\mean().

Parameters