blockly > utils > object > deepMerge
utils.object.deepMerge() function
Complete a deep merge of all members of a source object with a target object.
N.B. This is not a very sophisticated merge algorithm and does not handle complex cases. Use with caution.
Signature:
export declare function deepMerge(target: any, source: any): any;
Parameters
Parameter | Type | Description |
|---|---|---|
target | any | Target. |
source | any | Source. |
Returns:
any
The resulting object.