Functions
reduce
- reduce<V, K, R>(list: ReadList<V, K>, callback: ReduceCallback<V, K, R>, initial: R): R
- reduce<V, K, R>(list: ReadList<V, K>, callback: ReduceCallback<V, K, R>): R | undefined
-
Type parameters
Parameters
-
-
callback: ReduceCallback<V, K, R>
-
initial: R
Returns R
-
Type parameters
Parameters
-
-
callback: ReduceCallback<V, K, R>
Returns R | undefined