mergeWith < TObject , TSource > ( object : TObject , source : TSource , customizer : ( value : any , srcValue : any , key : string , object : any , source : any , ) => any , ) : TObject & TSource Parameters object : TObject source : TSource customizer : ( value : any , srcValue : any , key : string , object : any , source : any ) => any Returns object
.
Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:1937 mergeWith < TObject , TSource1 , TSource2 > ( object : TObject , source1 : TSource1 , source2 : TSource2 , customizer : ( value : any , srcValue : any , key : string , object : any , source : any , ) => any , ) : TObject & TSource1 & TSource2 Parameters object : TObject source1 : TSource1 source2 : TSource2 customizer : ( value : any , srcValue : any , key : string , object : any , source : any ) => any Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:1941 mergeWith < TObject , TSource1 , TSource2 , TSource3 > ( object : TObject , source1 : TSource1 , source2 : TSource2 , source3 : TSource3 , customizer : ( value : any , srcValue : any , key : string , object : any , source : any , ) => any , ) : TObject & TSource1 & TSource2 & TSource3 Type Parameters TObject TSource1 TSource2 TSource3 Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:1945 mergeWith < TObject , TSource1 , TSource2 , TSource3 , TSource4 > ( object : TObject , source1 : TSource1 , source2 : TSource2 , source3 : TSource3 , source4 : TSource4 , customizer : ( value : any , srcValue : any , key : string , object : any , source : any , ) => any , ) : TObject & TSource1 & TSource2 & TSource3 & TSource4 Type Parameters TObject TSource1 TSource2 TSource3 TSource4 Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:1949 mergeWith ( object : any , ... otherArgs : any [] ) : any Parameters object : any ... otherArgs : any [] Returns any Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:1953
This method is like
_.merge
except that it acceptscustomizer
which is invoked to produce the merged values of the destination and source properties. Ifcustomizer
returnsundefined
merging is handled by the method instead. Thecustomizer
is invoked with seven arguments: (objValue, srcValue, key, object, source, stack).