W3cubDocs

/Kotlin

equals

Platform and version requirements: JS (1.1), Native (1.3)
open fun equals(other: Any?): Boolean

Compares this set with another set instance with the unordered structural equality.

Return true, if other instance is a Set of the same size, all elements of which are contained in this set.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-abstract-mutable-set/equals.html