Preparing search index...
The search index is not available
iteragain - v4.1.5
iteragain
minmax
minmax
Function minmax
minmax
<
T
>
(
iteratee
?
)
:
(
(
arg
:
T
)
=>
[
IterSource
<
T
>
,
IterSource
<
T
>
]
)
Returns the minimum and maximum from the input iterator as a tuple:
[min, max]
.
Type Parameters
T
extends
IteratorOrIterable
<
unknown
>
Parameters
Optional
iteratee
:
Iteratee
<
IterSource
<
T
>
,
number
>
Returns
(
(
arg
:
T
)
=>
[
IterSource
<
T
>
,
IterSource
<
T
>
]
)
(
arg
)
:
[
IterSource
<
T
>
,
IterSource
<
T
>
]
Parameters
arg
:
T
Returns
[
IterSource
<
T
>
,
IterSource
<
T
>
]
minmax
<
T
>
(
arg
,
iteratee
?
)
:
[
IterSource
<
T
>
,
IterSource
<
T
>
]
Type Parameters
T
extends
IteratorOrIterable
<
unknown
>
Parameters
arg
:
T
Optional
iteratee
:
Iteratee
<
IterSource
<
T
>
,
number
>
Returns
[
IterSource
<
T
>
,
IterSource
<
T
>
]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
iteragain - v4.1.5
Loading...
Returns the minimum and maximum from the input iterator as a tuple:
[min, max]
.