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