kotlin-stdlib / kotlin.collections / AbstractSet / equals equals Common JVM JS Native 1.0 open fun equals ( other : Any ? ) : Boolean (source) Compares this set with other 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.