W3cubDocs

/Kotlin

contentEquals

inline infix fun <T> Array<out T>.contentEquals(
    other: Array<out T>
): Boolean

Platform and version requirements: Kotlin 1.1

inline infix fun ByteArray.contentEquals(
    other: ByteArray
): Boolean

Platform and version requirements: Kotlin 1.1

inline infix fun ShortArray.contentEquals(
    other: ShortArray
): Boolean

Platform and version requirements: Kotlin 1.1

inline infix fun IntArray.contentEquals(
    other: IntArray
): Boolean

Platform and version requirements: Kotlin 1.1

inline infix fun LongArray.contentEquals(
    other: LongArray
): Boolean

Platform and version requirements: Kotlin 1.1

inline infix fun FloatArray.contentEquals(
    other: FloatArray
): Boolean

Platform and version requirements: Kotlin 1.1

inline infix fun DoubleArray.contentEquals(
    other: DoubleArray
): Boolean

Platform and version requirements: Kotlin 1.1

inline infix fun BooleanArray.contentEquals(
    other: BooleanArray
): Boolean

Platform and version requirements: Kotlin 1.1

inline infix fun CharArray.contentEquals(
    other: CharArray
): Boolean

Platform and version requirements: Kotlin 1.1

Returns true if the two specified arrays are structurally equal to one another, i.e. contain the same number of the same elements in the same order.

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