Preparing search index...
The search index is not available
LISN.js
LISN.js
Utils
sortedKeysByVal
Function sortedKeysByVal
Returns an array of object's keys sorted by the numeric value they hold.
sortedKeysByVal
<
T
extends
Record
<
string
,
number
>
>
(
obj
:
T
,
descending
?:
boolean
,
)
:
(
keyof
T
)
[]
Type Parameters
T
extends
Record
<
string
,
number
>
Parameters
obj
:
T
descending
:
boolean
= false
Returns (
keyof
T
)
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
LISN.js
Loading...
Returns an array of object's keys sorted by the numeric value they hold.