Preparing search index...
The search index is not available
@juulsgaard/ts-tools
@juulsgaard/ts-tools
arrToMap
Function arrToMap
arr
To
Map
<
TArr
,
TKey
>
(
array
,
getKey
)
:
Map
<
TKey
,
TArr
>
Map an array to a Map
Type Parameters
TArr
TKey
Parameters
array
:
readonly
TArr
[]
getKey
:
ArrayMapFunc
<
TArr
,
TKey
>
Returns
Map
<
TKey
,
TArr
>
arr
To
Map
<
TArr
,
TKey
,
TVal
>
(
array
,
getKey
,
getVal
)
:
Map
<
TKey
,
TVal
>
Map an array to a Map
Type Parameters
TArr
TKey
TVal
Parameters
array
:
readonly
TArr
[]
getKey
:
ArrayMapFunc
<
TArr
,
TKey
>
getVal
:
ArrayMapFunc
<
TArr
,
TVal
>
Returns
Map
<
TKey
,
TVal
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@juulsgaard/ts-tools
Loading...
Map an array to a Map