assign < TObject , TSource > ( object : TObject , source : TSource ) : TObject & TSource Returns object
.
Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:33 assign < TObject , TSource1 , TSource2 > ( object : TObject , source1 : TSource1 , source2 : TSource2 , ) : TObject & TSource1 & TSource2 Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:37 assign < TObject , TSource1 , TSource2 , TSource3 > ( object : TObject , source1 : TSource1 , source2 : TSource2 , source3 : TSource3 , ) : TObject & TSource1 & TSource2 & TSource3 Type Parameters TObject TSource1 TSource2 TSource3 Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:41 assign < TObject , TSource1 , TSource2 , TSource3 , TSource4 > ( object : TObject , source1 : TSource1 , source2 : TSource2 , source3 : TSource3 , source4 : TSource4 , ) : 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:45 assign < TObject > ( object : TObject ) : TObject Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:49 assign ( 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:53
Assigns own enumerable properties of source objects to the destination object. Source objects are applied from left to right. Subsequent sources overwrite property assignments of previous sources.
Note: This method mutates
object
and is loosely based onObject.assign
.