it
Preparing search index...
it-sort
default
Function default
default
<
T
>
(
source
:
Iterable
<
T
>
,
sorter
:
CompareFunction
<
T
>
,
)
:
Generator
<
T
,
void
,
undefined
>
Collects all values from an async iterator, sorts them using the passed function and yields them
Type Parameters
T
Parameters
source
:
Iterable
<
T
>
sorter
:
CompareFunction
<
T
>
Returns
Generator
<
T
,
void
,
undefined
>
default
<
T
>
(
source
:
Iterable
<
T
,
any
,
any
>
|
AsyncIterable
<
T
,
any
,
any
>
,
sorter
:
CompareFunction
<
T
>
,
)
:
AsyncGenerator
<
T
,
void
,
undefined
>
Collects all values from an async iterator, sorts them using the passed function and yields them
Type Parameters
T
Parameters
source
:
Iterable
<
T
,
any
,
any
>
|
AsyncIterable
<
T
,
any
,
any
>
sorter
:
CompareFunction
<
T
>
Returns
AsyncGenerator
<
T
,
void
,
undefined
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
it
Loading...
Collects all values from an async iterator, sorts them using the passed function and yields them