← Docs
kotlin-stdlib / kotlin.collections / AbstractMutableSet / equals

equals

JS
Native
1.1
open fun equals ( other : Any ? ) : Boolean
(JS source) (Native source)

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.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .