contentEquals

expect infix inline fun <T> Array<out T>.contentEquals(other: Array<out T>): Boolean(source)
expect infix inline fun ByteArray.contentEquals(other: ByteArray): Boolean(source)
expect infix inline fun ShortArray.contentEquals(other: ShortArray): Boolean(source)
expect infix inline fun IntArray.contentEquals(other: IntArray): Boolean(source)
expect infix inline fun LongArray.contentEquals(other: LongArray): Boolean(source)
expect infix inline fun FloatArray.contentEquals(other: FloatArray): Boolean(source)
expect infix inline fun DoubleArray.contentEquals(other: DoubleArray): Boolean(source)
expect infix inline fun BooleanArray.contentEquals(other: BooleanArray): Boolean(source)
expect infix inline fun CharArray.contentEquals(other: CharArray): Boolean(source)

Deprecated

Use Kotlin compiler 1.4 to avoid deprecation warning.

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.

The elements are compared for equality with the equals function. For floating point numbers it means that NaN is equal to itself and -0.0 is not equal to 0.0.

Since Kotlin

1.1