lastIndexOf
fun ByteArray.lastIndexOf(element: Byte): Int
fun ShortArray.lastIndexOf(element: Short): Int
fun IntArray.lastIndexOf(element: Int): Int
fun LongArray.lastIndexOf(element: Long): Int
fun FloatArray.lastIndexOf(element: Float): Int
fun DoubleArray.lastIndexOf(element: Double): Int
fun BooleanArray.lastIndexOf(element: Boolean): Int
fun CharArray.lastIndexOf(element: Char): Int
@ExperimentalUnsignedTypes fun ULongArray.lastIndexOf(
element: ULong
): Int
@ExperimentalUnsignedTypes fun UByteArray.lastIndexOf(
element: UByte
): Int
@ExperimentalUnsignedTypes fun UShortArray.lastIndexOf(
element: UShort
): Int
Returns last index of element, or -1 if the array does not contain element.