toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-js
/
js.collections
/
JsMap
Js
Map
open
external
class
JsMap
<
K
,
V
>
(
values
:
ReadonlyArray
<
JsTuple2
<
K
,
V
>
>
=
definedExternally
)
:
MutableMapLike
<
K
,
V
>
(
source
)
Members
Constructors
Js
Map
Link copied to clipboard
constructor
(
values
:
ReadonlyArray
<
JsTuple2
<
K
,
V
>
>
=
definedExternally
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
size
Link copied to clipboard
open
override
val
size
:
Int
Functions
clear
Link copied to clipboard
open
override
fun
clear
(
)
delete
Link copied to clipboard
open
override
fun
delete
(
key
:
K
)
:
Boolean
entries
Link copied to clipboard
open
override
fun
entries
(
)
:
JsIterator
<
JsTuple2
<
K
,
V
>
>
for
Each
Link copied to clipboard
open
override
fun
forEach
(
action
:
(
value
:
V
,
key
:
K
)
->
Unit
)
get
Link copied to clipboard
open
operator override
fun
get
(
key
:
K
)
:
V
?
open
operator
fun
get
(
key
:
Symbol.iterator
)
:
(
)
->
JsIterator
<
JsTuple2
<
K
,
V
>
>
has
Link copied to clipboard
open
override
fun
has
(
key
:
K
)
:
Boolean
iterator
Link copied to clipboard
open
inline operator
fun
iterator
(
)
:
Iterator
<
JsTuple2
<
K
,
V
>
>
keys
Link copied to clipboard
open
override
fun
keys
(
)
:
JsIterator
<
K
>
set
Link copied to clipboard
open
operator override
fun
set
(
key
:
K
,
value
:
V
)
values
Link copied to clipboard
open
override
fun
values
(
)
:
JsIterator
<
V
>