W3cubDocs

/Kotlin

equals

open fun equals(other: Any?): Boolean

Compares this list with other list instance with the ordered structural equality.

Return true, if other instance is a List of the same size, which contains the same elements in the same order.

© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-abstract-list/equals.html