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