min
min() function
Returns the smallest of the given iterable/AsyncIterable
Signature:declare function min<A extends Iterable<number> | AsyncIterable<number>>(iterable: A): ReturnValueType<A, number>;
Example
min([1, 3, 5]); // 1;
min([1, NaN, 2]); // NaN;
min([1, Infinity, 3]); // 1;
min([1, -Infinity, 3]); // -Infinity;
min([]); // Infinity