HH\Lib\Math\mean

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

Returns the arithmetic mean of the numbers in the given container

namespace HH\Lib\Math;

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

Parameters