W3cubDocs

/Kotlin

equals

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
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–2019 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