sdk
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
sdk
sdk
/
com.m8test.script.core.api.wrapper
/
PrimitiveArrayWrapper
/
reduce
reduce
abstract
fun
reduce
(
operation
:
(
PT
,
PT
)
->
PT
)
:
PT
通过对数组元素应用操作来累积值.
参考
kotlin.collections.reduce
Return
最终累积值
Parameters
operation
用于将累积值和元素组合的函数
Throws
Unsupported
Operation
Exception
如果数组为空