Function: max()
max(
iterable
):Optional
<number
>
Returns an iterable containing a maximum value of iterable
if iterable
contains at least one value. Otherwise, returns an empty iterable.
Parameters
iterable
Iterable
<number
, any
, any
>
Returns
Optional
<number
>
Example
console.log(pipe([4, 1, 5, -3], max, get))
//=> 5
Since
v0.0.1