Skip to main content

logic/mergeDeep/object

Creates a new object with the own properties of the first object merged with the own properties of the second object. If a key exists in both objects:

  • and both values are objects, the two values will be recursively merged
  • otherwise the value from the second object will be used.

See Rambdax's mergeDeepRight

Merge Deep
a
result
b

Inputs

NameTypeDefault ValueChoices
aobject
bobject

Outputs

NameType
resultobject