contentEquals

Common
JVM
JS
Native
1.1
infix fun <T> Array<out T>.contentEquals(
    other: Array<out T>
): Boolean
infix fun ByteArray.contentEquals(other: ByteArray): Boolean
infix fun ShortArray.contentEquals(
    other: ShortArray
): Boolean
infix fun IntArray.contentEquals(other: IntArray): Boolean
infix fun LongArray.contentEquals(other: LongArray): Boolean
infix fun FloatArray.contentEquals(
    other: FloatArray
): Boolean
infix fun DoubleArray.contentEquals(
    other: DoubleArray
): Boolean
infix fun BooleanArray.contentEquals(
    other: BooleanArray
): Boolean
infix fun CharArray.contentEquals(other: CharArray): Boolean

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.

Common
JVM
JS
Native
1.3
infix fun UIntArray.contentEquals(other: UIntArray): Boolean
infix fun ULongArray.contentEquals(
    other: ULongArray
): Boolean
infix fun UByteArray.contentEquals(
    other: UByteArray
): Boolean
infix fun UShortArray.contentEquals(
    other: UShortArray
): Boolean

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.