assignWith < TObject , TSource > ( object : TObject , source : TSource , customizer ?: AssignCustomizer , ) : TObject & TSource Returns object
.
Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:335 assignWith < TObject , TSource1 , TSource2 > ( object : TObject , source1 : TSource1 , source2 : TSource2 , customizer : AssignCustomizer , ) : TObject & TSource1 & TSource2 Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:339 assignWith < TObject , TSource1 , TSource2 , TSource3 > ( object : TObject , source1 : TSource1 , source2 : TSource2 , source3 : TSource3 , customizer : AssignCustomizer , ) : TObject & TSource1 & TSource2 & TSource3 Type Parameters TObject TSource1 TSource2 TSource3 Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:343 assignWith < TObject , TSource1 , TSource2 , TSource3 , TSource4 > ( object : TObject , source1 : TSource1 , source2 : TSource2 , source3 : TSource3 , source4 : TSource4 , customizer : AssignCustomizer , ) : 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:347 assignWith < TObject > ( object : TObject ) : TObject Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:351 assignWith < TResult > ( object : any , ... otherArgs : any [] ) : TResult Parameters object : any ... otherArgs : any [] Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:355
This method is like
_.assign
except that it acceptscustomizer
which is invoked to produce the assigned values. Ifcustomizer
returnsundefined
assignment is handled by the method instead. Thecustomizer
is invoked with five arguments: (objValue, srcValue, key, object, source).Note: This method mutates
object
.