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