Preparing search index...
The search index is not available
@juulsgaard/ts-tools
@juulsgaard/ts-tools
sortNumAsc
Function sortNumAsc
sort
Num
Asc
(
)
:
SortFn
<
number
|
undefined
>
sort a number collection
Returns
SortFn
<
number
|
undefined
>
sort
Num
Asc
<
T
>
(
getNum
)
:
SortFn
<
T
>
sort a collection based on a number
Type Parameters
T
extends
object
Parameters
getNum
:
(
(
x
:
T
)
=>
undefined
|
number
)
Define the number mapper
(
x
)
:
undefined
|
number
Parameters
x
:
T
Returns
undefined
|
number
Returns
SortFn
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@juulsgaard/ts-tools
Loading...
sort a number collection