@tsdotnet/compare - v1.7.4
Preparing search index...
comparison
fromKeys
Function fromKeys
fromKeys
<
T
extends
object
>
(
keys
:
(
keyof
T
)
[]
)
:
Comparison
<
T
>
Creates a comparison function with specific ordering by key.
Type Parameters
T
extends
object
Parameters
keys
: (
keyof
T
)
[]
Returns
Comparison
<
T
>
fromKeys
<
T
extends
object
>
(
keys
:
{
[
P
in
string
|
number
|
symbol
]
?:
OrderValue
}
,
)
:
Comparison
<
T
>
Creates a comparison function with specific ordering by key.
Type Parameters
T
extends
object
Parameters
keys
:
{
[
P
in
string
|
number
|
symbol
]
?:
OrderValue
}
Returns
Comparison
<
T
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@tsdotnet/compare - v1.7.4
Loading...
Creates a comparison function with specific ordering by key.