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