W3cubDocs

/Kotlin

equals

open fun equals(other: Any?): Boolean

Platform and version requirements: JS

Compares this list with another 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-mutable-list/equals.html