indexOfLast
inline fun ByteArray.indexOfLast(
predicate: (Byte) -> Boolean
): Intinline fun ShortArray.indexOfLast(
predicate: (Short) -> Boolean
): Intinline fun IntArray.indexOfLast(
predicate: (Int) -> Boolean
): Intinline fun LongArray.indexOfLast(
predicate: (Long) -> Boolean
): Intinline fun FloatArray.indexOfLast(
predicate: (Float) -> Boolean
): Intinline fun DoubleArray.indexOfLast(
predicate: (Double) -> Boolean
): Intinline fun BooleanArray.indexOfLast(
predicate: (Boolean) -> Boolean
): Intinline fun CharArray.indexOfLast(
predicate: (Char) -> Boolean
): Int@ExperimentalUnsignedTypes inline fun ULongArray.indexOfLast(
predicate: (ULong) -> Boolean
): Int@ExperimentalUnsignedTypes inline fun UByteArray.indexOfLast(
predicate: (UByte) -> Boolean
): Int@ExperimentalUnsignedTypes inline fun UShortArray.indexOfLast(
predicate: (UShort) -> Boolean
): IntReturns index of the last element matching the given predicate, or -1 if the array does not contain such element.