Preparing search index...
The search index is not available
Documentation
Documentation
@sequelize/utils
common
MultiMap
Class MultiMap<K, V>
Type Parameters
K
V
Implements
MapLike
<
K
,
readonly
V
[]
>
Index
Constructors
constructor
Properties
#internal
Map
Accessors
size
Methods
[iterator]
append
clear
count
delete
delete
Value
entries
get
has
keys
set
values
Constructors
constructor
new
Multi
Map
<
K
,
V
>
(
entries
?
)
:
MultiMap
<
K
,
V
>
Type Parameters
K
V
Parameters
Optional
entries
:
Iterable
<
readonly
[
K
,
readonly
V
[]
]
>
Returns
MultiMap
<
K
,
V
>
Properties
Private
Readonly
#internal
Map
#internal
Map
:
Map
<
K
,
readonly
V
[]
>
= ...
Accessors
size
get
size
(
)
:
number
Returns
number
Methods
[iterator]
[iterator]
(
)
:
IterableIterator
<
Entry
<
K
,
readonly
V
[]
>
>
Returns
IterableIterator
<
Entry
<
K
,
readonly
V
[]
>
>
append
append
(
key
,
value
)
:
this
Parameters
key
:
K
value
:
V
Returns
this
clear
clear
(
)
:
void
Returns
void
count
count
(
key
)
:
number
Parameters
key
:
K
Returns
number
delete
delete
(
key
)
:
boolean
Parameters
key
:
K
Returns
boolean
delete
Value
delete
Value
(
key
,
value
)
:
boolean
Parameters
key
:
K
value
:
V
Returns
boolean
entries
entries
(
)
:
IterableIterator
<
Entry
<
K
,
readonly
V
[]
>
>
Returns
IterableIterator
<
Entry
<
K
,
readonly
V
[]
>
>
get
get
(
key
)
:
readonly
V
[]
Parameters
key
:
K
Returns
readonly
V
[]
has
has
(
key
)
:
boolean
Parameters
key
:
K
Returns
boolean
keys
keys
(
)
:
IterableIterator
<
K
>
Returns
IterableIterator
<
K
>
set
set
(
key
,
values
)
:
this
Parameters
key
:
K
values
:
readonly
V
[]
Returns
this
values
values
(
)
:
IterableIterator
<
readonly
V
[]
>
Returns
IterableIterator
<
readonly
V
[]
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
#internal
Map
size
[iterator]
append
clear
count
delete
delete
Value
entries
get
has
keys
set
values
Documentation
Loading...