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