toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-js
/
js.collections
/
WeakMap
Weak
Map
open
external
class
WeakMap
<
in
K
:
Any
,
V
>
(
entries
:
ReadonlyArray
<
JsTuple2
<
K
,
V
>
>
?
=
definedExternally
)
(
source
)
Members
Constructors
Weak
Map
Link copied to clipboard
constructor
(
entries
:
ReadonlyArray
<
JsTuple2
<
K
,
V
>
>
?
=
definedExternally
)
Functions
delete
Link copied to clipboard
fun
delete
(
key
:
K
)
:
Boolean
get
Link copied to clipboard
operator
fun
get
(
key
:
K
)
:
V
?
has
Link copied to clipboard
fun
has
(
key
:
K
)
:
Boolean
set
Link copied to clipboard
operator
fun
set
(
key
:
K
,
value
:
V
)
:
WeakMap
<
K
,
V
>