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