Stay organized with collections Save and categorize content based on your preferences.

blockly > utils > object > mixin

utils.object.mixin() function

Use the built-in **Object.assign** instead.

Copies all the members of a source object to a target object.

Signature:

export declare function mixin(target: any, source: any): void;

Parameters

Parameter Type Description
target any Target.
source any Source.

Returns:

void