type min
Returns a Reducer
that remembers the minimum value of the numberic inputs.
example
console.log(Stream.of(5, 3, 7, 4).reduce(Reducer.min()))
// => 3
Definition
min: {
():
AsyncReducer
<number, number
|
undefined>;
<O>(otherwise: AsyncOptLazy<O>):
AsyncReducer
<number, number
|
O>;
}