Create a pre-configured deep-merge function with custom options.
This is the recommended way to use non-default merge behaviour (e.g.
array concatenation or a custom depth limit). It avoids the ambiguity
of detecting an options bag among the objects to merge.
Param: options
Merge options to apply.
Returns
A function that accepts one or more objects and returns their
deep merge using the given options.
Create a pre-configured deep-merge function with custom options.
This is the recommended way to use non-default merge behaviour (e.g. array concatenation or a custom depth limit). It avoids the ambiguity of detecting an options bag among the objects to merge.
Param: options
Merge options to apply.
Returns
A function that accepts one or more objects and returns their deep merge using the given options.
Example
Example