lastIndexOf
@DeprecatedSinceKotlin
(
"1.4"
,
"1.6"
,
"1.7"
)
fun
FloatArray
.
lastIndexOf
(
element
:
Float
)
:
Int
(source)
@DeprecatedSinceKotlin
(
"1.4"
,
"1.6"
,
"1.7"
)
fun
DoubleArray
.
lastIndexOf
(
element
:
Double
)
:
Int
(source)
Returns last index of element , or -1 if the array does not contain element.
Returns last index of element , or -1 if the collection does not contain element.