HH\Lib\Math\minva

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

This function is available as Math\minva() in Facebook's www repository.

Returns the smallest of all input numbers

Description

namespace HH\Lib\Math;

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

Parameters

  • T $first
  • T ...$rest