sdk
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
sdk
sdk
/
com.m8test.script.core.api.wrapper
/
ArrayWrapper
/
reduceIndexed
reduce
Indexed
abstract
fun
reduceIndexed
(
operation
:
(
index
:
Int
,
acc
:
T
,
T
)
->
T
)
:
T
使用指定的
operation
对数组的元素及其索引进行累积操作。
参考
kotlin.collections.reduceIndexed
Return
累积操作的结果。
Parameters
operation
用于累积值的函数。