contentEquals

Common
JVM
JS
Native
1.1
@DeprecatedSinceKotlin("1.4") infix fun <T> Array<out T>.contentEquals(
    other: Array<out T>
): Boolean

(Common source) (JVM source) (JS source) (Native source)
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Common
JVM
JS
Native
1.1
@DeprecatedSinceKotlin("1.4") infix fun ByteArray.contentEquals(
    other: ByteArray
): Boolean

(Common source) (JVM source) (JS source) (Native source)
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Common
JVM
JS
Native
1.1
@DeprecatedSinceKotlin("1.4") infix fun ShortArray.contentEquals(
    other: ShortArray
): Boolean

(Common source) (JVM source) (JS source) (Native source)
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Common
JVM
JS
Native
1.1
@DeprecatedSinceKotlin("1.4") infix fun IntArray.contentEquals(
    other: IntArray
): Boolean

(Common source) (JVM source) (JS source) (Native source)
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Common
JVM
JS
Native
1.1
@DeprecatedSinceKotlin("1.4") infix fun LongArray.contentEquals(
    other: LongArray
): Boolean

(Common source) (JVM source) (JS source) (Native source)
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Common
JVM
JS
Native
1.1
@DeprecatedSinceKotlin("1.4") infix fun FloatArray.contentEquals(
    other: FloatArray
): Boolean

(Common source) (JVM source) (JS source) (Native source)
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Common
JVM
JS
Native
1.1
@DeprecatedSinceKotlin("1.4") infix fun DoubleArray.contentEquals(
    other: DoubleArray
): Boolean

(Common source) (JVM source) (JS source) (Native source)
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Common
JVM
JS
Native
1.1
@DeprecatedSinceKotlin("1.4") infix fun BooleanArray.contentEquals(
    other: BooleanArray
): Boolean

(Common source) (JVM source) (JS source) (Native source)
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Common
JVM
JS
Native
1.1
@DeprecatedSinceKotlin("1.4") infix fun CharArray.contentEquals(
    other: CharArray
): Boolean

(Common source) (JVM source) (JS source) (Native source)
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Common
JS
Native
1.4
infix fun <T> Array<out T>?.contentEquals(
    other: Array<out T>?
): Boolean

(Common source) (JS source) (Native source)
JVM
1.4
@JvmName("contentEqualsNullable") infix fun <T> Array<out T>?.contentEquals(
    other: Array<out T>?
): Boolean

(source)
Common
JS
Native
1.4
infix fun ByteArray?.contentEquals(
    other: ByteArray?
): Boolean

(Common source) (JS source) (Native source)
JVM
1.4
@JvmName("contentEqualsNullable") infix fun ByteArray?.contentEquals(
    other: ByteArray?
): Boolean

(source)
Common
JS
Native
1.4
infix fun ShortArray?.contentEquals(
    other: ShortArray?
): Boolean

(Common source) (JS source) (Native source)
JVM
1.4
@JvmName("contentEqualsNullable") infix fun ShortArray?.contentEquals(
    other: ShortArray?
): Boolean

(source)
Common
JS
Native
1.4
infix fun IntArray?.contentEquals(other: IntArray?): Boolean
(Common source) (JS source) (Native source)
JVM
1.4
@JvmName("contentEqualsNullable") infix fun IntArray?.contentEquals(
    other: IntArray?
): Boolean

(source)
Common
JS
Native
1.4
infix fun LongArray?.contentEquals(
    other: LongArray?
): Boolean

(Common source) (JS source) (Native source)
JVM
1.4
@JvmName("contentEqualsNullable") infix fun LongArray?.contentEquals(
    other: LongArray?
): Boolean

(source)
Common
JS
Native
1.4
infix fun FloatArray?.contentEquals(
    other: FloatArray?
): Boolean

(Common source) (JS source) (Native source)
JVM
1.4
@JvmName("contentEqualsNullable") infix fun FloatArray?.contentEquals(
    other: FloatArray?
): Boolean

(source)
Common
JS
Native
1.4
infix fun DoubleArray?.contentEquals(
    other: DoubleArray?
): Boolean

(Common source) (JS source) (Native source)
JVM
1.4
@JvmName("contentEqualsNullable") infix fun DoubleArray?.contentEquals(
    other: DoubleArray?
): Boolean

(source)
Common
JS
Native
1.4
infix fun BooleanArray?.contentEquals(
    other: BooleanArray?
): Boolean

(Common source) (JS source) (Native source)
JVM
1.4
@JvmName("contentEqualsNullable") infix fun BooleanArray?.contentEquals(
    other: BooleanArray?
): Boolean

(source)
Common
JS
Native
1.4
infix fun CharArray?.contentEquals(
    other: CharArray?
): Boolean

(Common source) (JS source) (Native source)
JVM
1.4
@JvmName("contentEqualsNullable") infix fun CharArray?.contentEquals(
    other: CharArray?
): Boolean

(source)

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.

Common
JVM
JS
Native
1.3
@DeprecatedSinceKotlin("1.4") @ExperimentalUnsignedTypes infix fun UIntArray.contentEquals(
    other: UIntArray
): Boolean

(source)
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
@DeprecatedSinceKotlin("1.4") @ExperimentalUnsignedTypes infix fun ULongArray.contentEquals(
    other: ULongArray
): Boolean

(source)
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
@DeprecatedSinceKotlin("1.4") @ExperimentalUnsignedTypes infix fun UByteArray.contentEquals(
    other: UByteArray
): Boolean

(source)
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
@DeprecatedSinceKotlin("1.4") @ExperimentalUnsignedTypes infix fun UShortArray.contentEquals(
    other: UShortArray
): Boolean

(source)
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
@ExperimentalUnsignedTypes infix fun UIntArray?.contentEquals(
    other: UIntArray?
): Boolean

(source)
@ExperimentalUnsignedTypes infix fun ULongArray?.contentEquals(
    other: ULongArray?
): Boolean

(source)
@ExperimentalUnsignedTypes infix fun UByteArray?.contentEquals(
    other: UByteArray?
): Boolean

(source)
@ExperimentalUnsignedTypes infix fun UShortArray?.contentEquals(
    other: UShortArray?
): Boolean

(source)

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.