sdk
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
sdk
sdk
/
com.m8test.script.core.api.wrapper
/
ArrayWrapper
/
onEachIndexed
on
Each
Indexed
abstract
fun
onEachIndexed
(
action
:
(
index
:
Int
,
T
)
->
Unit
)
:
ArrayWrapper
<
out
T
>
对此数组的每个元素及其索引执行给定的
action
。
参考
kotlin.collections.onEachIndexed
Return
此数组。
Parameters
action
要对每个元素及其索引执行的操作。