contentEquals
infix fun ShortArray.contentEquals(
other: ShortArray
): Boolean
infix fun FloatArray.contentEquals(
other: FloatArray
): Boolean
infix fun DoubleArray.contentEquals(
other: DoubleArray
): Boolean
infix fun BooleanArray.contentEquals(
other: BooleanArray
): 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.
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
.
@ExperimentalUnsignedTypes infix fun ULongArray.contentEquals(
other: ULongArray
): Boolean
@ExperimentalUnsignedTypes infix fun UByteArray.contentEquals(
other: UByteArray
): Boolean
@ExperimentalUnsignedTypes 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.