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

equals

Common
JVM
JS
Native
1.0
open fun equals ( other : Any ? ) : Boolean
(source)

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.

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 .