Preparing search index...
The search index is not available
@hat-open/util
@hat-open/util
sortBy
Function sortBy
Curried
_sortBy
sortBy
<
T
>
()
:
Curried2
<
(
x
:
T
)
=>
any
,
T
[]
,
T
[]
>
Type Parameters
T
Returns
Curried2
<
(
x
:
T
)
=>
any
,
T
[]
,
T
[]
>
sortBy
<
T
>
(
fn
:
(
x
:
T
)
=>
any
)
:
Curried1
<
T
[]
,
T
[]
>
Type Parameters
T
Parameters
fn
:
(
x
:
T
)
=>
any
Returns
Curried1
<
T
[]
,
T
[]
>
sortBy
<
T
>
(
fn
:
(
x
:
T
)
=>
any
,
arr
:
T
[]
)
:
T
[]
Type Parameters
T
Parameters
fn
:
(
x
:
T
)
=>
any
arr
:
T
[]
Returns
T
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@hat-open/util
Loading...
Curried
_sortBy