All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jsMain.js.collections.JsSet.kt Maven / Gradle / Ivy

package js.collections

import js.core.JsIterable
import js.core.JsIterator
import js.core.JsTuple2
import js.core.ReadonlyArray

@JsName("Set")
external class JsSet : ReadonlySet {
    constructor()
    constructor(values: JsIterator?)
    constructor(values: ReadonlyArray?)

    override val size: Int
    fun add(value: T): JsSet
    fun clear()
    fun delete(value: T)
    override fun entries(): JsIterable.Iterator>
    override fun has(value: T): Boolean
    override fun forEach(action: (value: T) -> Unit)
    override fun keys(): JsIterable.Iterator
    override fun values(): JsIterable.Iterator
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy