Preparing search index...
The search index is not available
collections-commons
collections-commons
extensions/iterable
associateWith
Function associateWith
associate
With
<
K
,
V
>
(
keys
:
Iterable
<
K
>
, valueSelector
:
(
(
item
:
K
)
=>
V
)
, destination
?:
Map
<
K
,
V
>
)
:
Map
<
K
,
V
>
Type Parameters
Type Parameters
K
V
Parameters
keys:
Iterable
<
K
>
valueSelector:
(
(
item
:
K
)
=>
V
)
(
item
:
K
)
:
V
Parameters
item:
K
Returns
V
destination:
Map
<
K
,
V
>
= ...
Returns
Map
<
K
,
V
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Modules
collections-
commons
data-
structures
extensions/array
extensions/iterable
extensions/map
extensions/multi-
value-
map
extensions/record
functions
types
Join
To
String
Options
assert
Has
Items
associate
associate
By
associate
By
Multiple
associate
By
Not
Nullish
associate
With
associate
With
Not
Nullish
count
distinct
eager
Lookup
every
filter
And
Map
find
Index
find
Or
Default
find
Or
Else
find
Or
Throw
first
first
Or
Default
first
Or
Else
first
Or
Throw
for
Each
for
Each
Unique
get
Or
Default
get
Or
Else
get
Or
Throw
group
By
group
By
Index
group
By
Prop
group
By
Until
Changed
has
Items
index
Of
is
Empty
is
Empty
Or
Some
join
To
String
last
last
Or
Default
last
Or
Else
last
Or
Throw
map
And
Distinct
map
Not
Nullish
map
Not
Undefined
max
By
min
By
none
partition
random
Item
readonly
Map
Of
some
sum
to
String
Safe
yield
Uniques
yielding
Filter
Generated using
TypeDoc