Function: minMaxConcur()
minMaxConcur(
concurIterable
):ConcurIterable
<MinMax
<number
>>
Returns a concur iterable containing a MinMax value of
concurIterable
if concurIterable
contains at least one value. Otherwise,
returns an empty concur iterable.
Parameters
• concurIterable: ConcurIterable
<number
>
Returns
ConcurIterable
<MinMax
<number
>>
Example
console.log(await pipe(asConcur([4, 1, 5, -3]), minMaxConcur, getConcur))
//=> { min: -3, max: 5 }