last Index Of
返回序列中指定元素的最后一个索引。
此函数类似于 Kotlin 标准库中的 lastIndexOf
函数。
参考 kotlin.sequences.lastIndexOf
Return
序列中指定元素的最后一个索引,如果找不到则返回 -1。
Parameters
element
要查找的元素。
返回序列中指定元素的最后一个索引。
此函数类似于 Kotlin 标准库中的 lastIndexOf
函数。
参考 kotlin.sequences.lastIndexOf
序列中指定元素的最后一个索引,如果找不到则返回 -1。
要查找的元素。