HH\Lib\Math\minva

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

Returns the smallest of all input numbers

namespace HH\Lib\Math;

function minva<T as num>(
  T $first,
  T $second,
  T ...$rest,
): T;

Parameters

  • T $first
  • T $second
  • T ...$rest