- min<V>(it, gt?): AsyncGenerator<V>
Parameters
- it: AsyncIterable<V>
Optional
gt: ((a: V, b: V) => boolean)- (a, b): boolean
Returns boolean
Returns AsyncGenerator<V>
- min<V>(it, gt?): Generator<V>
Parameters
- it: Iterable<V>
Optional
gt: ((a: V, b: V) => boolean)- (a, b): boolean
Returns boolean
Returns Generator<V>
Returns a stream of minimum values.
Streaming result: works with endless iterables.
Param: it
Iterable
Param: gt
Should return true if
a
is greater thanb
.Returns
Yields minimum values