Preparing search index...
The search index is not available
Welshman Docs
Welshman Docs
@welshman/lib
assoc
Function assoc
Returns a function that adds/updates property on object
assoc
<
K
extends
string
,
T
,
U
>
(
k
:
K
,
v
:
T
)
:
(
o
:
U
)
=>
U
&
Record
<
K
,
T
>
Type Parameters
K
extends
string
T
U
Parameters
k
:
K
v
:
T
Returns
(
o
:
U
)
=>
U
&
Record
<
K
,
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Welshman Docs
Loading...
Returns a function that adds/updates property on object