Preparing search index...
The search index is not available
@juulsgaard/ts-tools
@juulsgaard/ts-tools
arrToLookup
Function arrToLookup
arr
To
Lookup
<
TArr
,
TKey
,
TVal
>
(
array
,
getKey
)
:
Lookup
<
TKey
,
TArr
>
Create a lookup where each key can map to multiple values
Type Parameters
TArr
TKey
TVal
Parameters
array
:
readonly
TArr
[]
getKey
:
ArrayMapFunc
<
TArr
,
TKey
>
Returns
Lookup
<
TKey
,
TArr
>
arr
To
Lookup
<
TArr
,
TKey
,
TVal
>
(
array
,
getKey
,
getVal
)
:
Lookup
<
TKey
,
TVal
>
Create a lookup where each key can map to multiple values
Type Parameters
TArr
TKey
TVal
Parameters
array
:
readonly
TArr
[]
getKey
:
ArrayMapFunc
<
TArr
,
TKey
>
getVal
:
ArrayMapFunc
<
TArr
,
TVal
>
Returns
Lookup
<
TKey
,
TVal
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@juulsgaard/ts-tools
Loading...
Create a lookup where each key can map to multiple values