Interface ReduceByArity3<A, B>
Callable
- __call(seed: B, by: (a: A) => PropertyKey | number, list: ReadonlyArray<A>): {}
- __call(seed: B, by: (a: A) => PropertyKey | number): ReduceByArity1<A, B>
- __call(seed: B): ReduceByArity2<A, B>
-
Parameters
-
seed: B
-
by: (a: A) => PropertyKey | number
-
- (a: A): PropertyKey | number
-
Parameters
Returns PropertyKey | number
-
list: ReadonlyArray<A>
Returns {}
-
Parameters
-
seed: B
-
by: (a: A) => PropertyKey | number
-
- (a: A): PropertyKey | number
-
Parameters
Returns PropertyKey | number
-
Parameters