map_ prop_ reduce ( prop , reducer , acc , list ) : { < U > ( f : ( ( acc : U , elem : unknown ) => U | Reduced < U > ) ) : ( ( acc : U ) => U ) ; < U_1 > ( __ : Placeholder , acc : U_1 ) : ( ( f : ( ( acc : U_1 , elem : unknown ) => U_1 | Reduced < U_1 > ) ) => U_1 ) ; < U_2 > ( f : ( ( acc : U_2 , elem : unknown ) => U_2 | Reduced < U_2 > ) , acc : U_2 ) : U_2 ; } Parameters prop : string reducer : any acc : any list : any [] Returns { < U > ( f : ( ( acc : U , elem : unknown ) => U | Reduced < U > ) ) : ( ( acc : U ) => U ) ; < U_1 > ( __ : Placeholder , acc : U_1 ) : ( ( f : ( ( acc : U_1 , elem : unknown ) => U_1 | Reduced < U_1 > ) ) => U_1 ) ; < U_2 > ( f : ( ( acc : U_2 , elem : unknown ) => U_2 | Reduced < U_2 > ) , acc : U_2 ) : U_2 ; } < U > ( f ) : ( ( acc : U ) => U ) Parameters f : ( ( acc : U , elem : unknown ) => U | Reduced < U > ) ( acc , elem ) : U | Reduced < U > Returns U | Reduced < U > Returns ( ( acc : U ) => U ) < U_1 > ( __ , acc ) : ( ( f : ( ( acc : U_1 , elem : unknown ) => U_1 | Reduced < U_1 > ) ) => U_1 ) Returns ( ( f : ( ( acc : U_1 , elem : unknown ) => U_1 | Reduced < U_1 > ) ) => U_1 ) ( f ) : U_1 Parameters f : ( ( acc : U_1 , elem : unknown ) => U_1 | Reduced < U_1 > ) Returns U_1 < U_2 > ( f , acc ) : U_2 Parameters f : ( ( acc : U_2 , elem : unknown ) => U_2 | Reduced < U_2 > ) acc : U_2 Returns U_2 Defined in packages/ts_common/dist/fp.d.ts:121
Given a list of objects, extract property 'prop' from each object to create a new list, and then reduce this list with the given reducer and initial accumulator