Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
Kotlin libraries
1.9
2.1
2.0
1.9
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
JS
Wasm-JS
switch theme
search in API
kotlin-stdlib
/
org.w3c.dom
/
get
get
JS
Wasm-JS
inline operator
fun
HTMLAllCollection
.
get
(
index
:
Int
)
:
Element
?
(
source
)
inline operator
fun
HTMLAllCollection
.
get
(
name
:
String
)
:
UnionElementOrHTMLCollection
?
(
source
)
inline operator
fun
DOMStringMap
.
get
(
name
:
String
)
:
String
?
(
source
)
inline operator
fun
AudioTrackList
.
get
(
index
:
Int
)
:
AudioTrack
?
(
source
)
inline operator
fun
VideoTrackList
.
get
(
index
:
Int
)
:
VideoTrack
?
(
source
)
inline operator
fun
TextTrackList
.
get
(
index
:
Int
)
:
TextTrack
?
(
source
)
inline operator
fun
TextTrackCueList
.
get
(
index
:
Int
)
:
TextTrackCue
?
(
source
)
inline operator
fun
HTMLFormElement
.
get
(
index
:
Int
)
:
Element
?
(
source
)
inline operator
fun
HTMLFormElement
.
get
(
name
:
String
)
:
UnionElementOrRadioNodeList
?
(
source
)
inline operator
fun
HTMLSelectElement
.
get
(
index
:
Int
)
:
Element
?
(
source
)
inline operator
fun
DataTransferItemList
.
get
(
index
:
Int
)
:
DataTransferItem
?
(
source
)
inline operator
fun
Window
.
get
(
name
:
String
)
:
dynamic
(
source
)
inline operator
fun
PluginArray
.
get
(
index
:
Int
)
:
Plugin
?
(
source
)
inline operator
fun
PluginArray
.
get
(
name
:
String
)
:
Plugin
?
(
source
)
inline operator
fun
MimeTypeArray
.
get
(
index
:
Int
)
:
MimeType
?
(
source
)
inline operator
fun
MimeTypeArray
.
get
(
name
:
String
)
:
MimeType
?
(
source
)
inline operator
fun
Plugin
.
get
(
index
:
Int
)
:
MimeType
?
(
source
)
inline operator
fun
Plugin
.
get
(
name
:
String
)
:
MimeType
?
(
source
)
inline operator
fun
Storage
.
get
(
key
:
String
)
:
String
?
(
source
)
inline operator
fun
NodeList
.
get
(
index
:
Int
)
:
Node
?
(
source
)
inline operator
fun
HTMLCollection
.
get
(
index
:
Int
)
:
Element
?
(
source
)
inline operator
fun
HTMLCollection
.
get
(
name
:
String
)
:
Element
?
(
source
)
inline operator
fun
Document
.
get
(
name
:
String
)
:
dynamic
(
source
)
inline operator
fun
NamedNodeMap
.
get
(
index
:
Int
)
:
Attr
?
(
source
)
inline operator
fun
NamedNodeMap
.
get
(
qualifiedName
:
String
)
:
Attr
?
(
source
)
inline operator
fun
DOMTokenList
.
get
(
index
:
Int
)
:
String
?
(
source
)
inline operator
fun
DOMRectList
.
get
(
index
:
Int
)
:
DOMRect
?
(
source
)
inline operator
fun
TouchList
.
get
(
index
:
Int
)
:
Touch
?
(
source
)
Since Kotlin
1.1
operator
fun
HTMLAllCollection
.
get
(
index
:
Int
)
:
Element
?
(
source
)
operator
fun
HTMLAllCollection
.
get
(
name
:
String
)
:
UnionElementOrHTMLCollection
?
(
source
)
operator
fun
DOMStringMap
.
get
(
name
:
String
)
:
String
?
(
source
)
operator
fun
AudioTrackList
.
get
(
index
:
Int
)
:
AudioTrack
?
(
source
)
operator
fun
VideoTrackList
.
get
(
index
:
Int
)
:
VideoTrack
?
(
source
)
operator
fun
TextTrackList
.
get
(
index
:
Int
)
:
TextTrack
?
(
source
)
operator
fun
TextTrackCueList
.
get
(
index
:
Int
)
:
TextTrackCue
?
(
source
)
operator
fun
HTMLFormElement
.
get
(
index
:
Int
)
:
Element
?
(
source
)
operator
fun
HTMLFormElement
.
get
(
name
:
String
)
:
UnionElementOrRadioNodeList
?
(
source
)
operator
fun
HTMLSelectElement
.
get
(
index
:
Int
)
:
Element
?
(
source
)
operator
fun
DataTransferItemList
.
get
(
index
:
Int
)
:
DataTransferItem
?
(
source
)
operator
fun
Window
.
get
(
name
:
String
)
:
JsAny
?
(
source
)
operator
fun
PluginArray
.
get
(
index
:
Int
)
:
Plugin
?
(
source
)
operator
fun
PluginArray
.
get
(
name
:
String
)
:
Plugin
?
(
source
)
operator
fun
MimeTypeArray
.
get
(
index
:
Int
)
:
MimeType
?
(
source
)
operator
fun
MimeTypeArray
.
get
(
name
:
String
)
:
MimeType
?
(
source
)
operator
fun
Plugin
.
get
(
index
:
Int
)
:
MimeType
?
(
source
)
operator
fun
Plugin
.
get
(
name
:
String
)
:
MimeType
?
(
source
)
operator
fun
Storage
.
get
(
key
:
String
)
:
String
?
(
source
)
operator
fun
NodeList
.
get
(
index
:
Int
)
:
Node
?
(
source
)
operator
fun
HTMLCollection
.
get
(
index
:
Int
)
:
Element
?
(
source
)
operator
fun
HTMLCollection
.
get
(
name
:
String
)
:
Element
?
(
source
)
operator
fun
Document
.
get
(
name
:
String
)
:
JsAny
?
(
source
)
operator
fun
NamedNodeMap
.
get
(
index
:
Int
)
:
Attr
?
(
source
)
operator
fun
NamedNodeMap
.
get
(
qualifiedName
:
String
)
:
Attr
?
(
source
)
operator
fun
DOMTokenList
.
get
(
index
:
Int
)
:
String
?
(
source
)
operator
fun
DOMRectList
.
get
(
index
:
Int
)
:
DOMRect
?
(
source
)
operator
fun
TouchList
.
get
(
index
:
Int
)
:
Touch
?
(
source
)
Since Kotlin
1.8
Thanks for your feedback!
Was this page helpful?
Yes
No
How can we improve?
Enter your name and email address if you would like to receive a follow-up message or
contact our support
.
By submitting this form, I agree that JetBrains s.r.o. ("JetBrains") may use my name, email address, phone number, and country of residence to provide support. I agree that JetBrains may process said data using
third-party services
for this purpose in accordance with the
JetBrains Privacy Policy
.