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