prorm API Reference
← Documentation
GitLab
Preparing search index...
index
sortBy
Function sortBy
sortBy
<
T
>
(
arr
:
T
[]
,
iteratee
:
keyof
T
|
(
(
item
:
T
)
=>
any
)
)
:
T
[]
Sort array by a key or function
Type Parameters
T
Parameters
arr
:
T
[]
iteratee
:
keyof
T
|
(
(
item
:
T
)
=>
any
)
Returns
T
[]
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
← Documentation
GitLab
prorm API Reference
Loading...
Sort array by a key or function