Given two objects deeply merges them, if an object is an array it will merge the array values!
Modifies the base
object in place and also returns it.
Guarantees some type safety by requiring objects to merge to be from the same type (allows undefined)
deepMergeObject to create a new merged object
Given two objects deeply merges them, if an object is an array it will merge the array values! Modifies the
base
object in place and also returns it. Guarantees some type safety by requiring objects to merge to be from the same type (allows undefined)