reduce Indexed Or Null
通过对数组元素应用操作来累积值,并提供元素索引,如果没有找到,则返回 null.
参考 kotlin.collections.reduceIndexedOrNull
Return
最终累积值,如果没有找到,则返回 null
Parameters
operation
用于将累积值、元素索引和元素组合的函数
通过对数组元素应用操作来累积值,并提供元素索引,如果没有找到,则返回 null.
参考 kotlin.collections.reduceIndexedOrNull
最终累积值,如果没有找到,则返回 null
用于将累积值、元素索引和元素组合的函数