DOMStringList

A type returned by some APIs which contains a list of DOMString (strings).

MDN Reference

Properties

Link copied to clipboard
open override val length: Int

Returns the number of strings in strings.

Functions

Link copied to clipboard
fun contains(string: String): Boolean

Returns true if strings contains string, and false otherwise.

Link copied to clipboard
open operator fun get(index: Int): String
open operator fun get(key: Symbol.iterator): () -> JsIterator<String>
Link copied to clipboard
fun item(index: Int): String?

Returns the string with index index from strings.

Link copied to clipboard
open inline operator fun iterator(): Iterator<String>