sdk
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
sdk
sdk
/
com.m8test.script.core.api.wrapper
/
ArrayWrapper
/
fold
fold
abstract
fun
<
R
>
fold
(
initial
:
R
,
operation
:
(
acc
:
R
,
T
)
->
R
)
:
R
使用 operation 函数累积此数组的元素到一个单一值。
参考
kotlin.collections.fold
Return
累积结果
Parameters
R
结果类型
initial
初始累积值
operation
用于累积值的函数