Constructor
new DeepAssign(options)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
options |
Partial.<DeepAssignOptions> | Custom options for how
|
Throws:
-
If
options.arrayMode
is not a validDeepAssignArrayMode
. - Type
- Error
Members
options :Readonly.<DeepAssignOptions>
- Source:
The options that define how DeepAssign#assign
works.
Type:
Methods
assign(…targets) → {Object|Array}
- Source:
Makes a deep merge of a list of objects and/or arrays.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
targets |
* |
<repeatable> |
The objects to merge; if one of them is not an object nor an array, it will be ignored. |