HH\Lib\Math\max

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

Returns the largest element of the given Traversable, or null if the Traversable is empty

namespace HH\Lib\Math;

function max<T as num>(
    Traversable<T> $numbers,
): ?T;

Parameters