Preparing search index...
The search index is not available
@refinio/one.models
@refinio/one.models
utils/MapUtils
getOrCreate
Function getOrCreate
get
Or
Create
<
M
>
(
map
,
k
,
v
)
:
MapValueType
<
M
>
This function returns a map entry or v that is added to the map.
Type Parameters
M
extends
Map
<
any
,
any
>
Parameters
map
:
M
k
:
MapKeyType
<
M
>
v
:
MapValueType
<
M
>
|
(
(
)
=>
MapValueType
<
M
>
)
Returns
MapValueType
<
M
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
@refinio/one.models
Loading...
This function returns a map entry or v that is added to the map.