bupkis
API
Assertions
Preparing search index...
util
keyBy
Function keyBy
keyBy
<
const
T
extends
readonly
Record
<
PropertyKey
,
any
>
[]
,
K
extends
string
>
(
collection
:
T
,
key
:
K
,
)
:
Record
<
string
,
T
[
number
]
>
Type Parameters
const
T
extends
readonly
Record
<
PropertyKey
,
any
>
[]
K
extends
string
Parameters
collection
:
T
key
:
K
Returns
Record
<
string
,
T
[
number
]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
API
Assertions
GitHub
npm
bupkis
Loading...