Performs a non-mutating deep merge of two or more values.
undefined
null
A new deeply-merged value of the combined type.
combine({ a: 1 }, { b: 2 }) // { a: 1, b: 2 }combine({ a: { x: 1 } }, { a: { y: 2 } }) // { a: { x: 1, y: 2 } } Copy
combine({ a: 1 }, { b: 2 }) // { a: 1, b: 2 }combine({ a: { x: 1 } }, { a: { y: 2 } }) // { a: { x: 1, y: 2 } }
Same as the two-source combine overload, for 3 sources.
combine
Same as the two-source combine overload, for 4 sources.
Same as the two-source combine overload, for 5 sources.
Same as the two-source combine overload, for 6 sources.
Same as the two-source combine overload, for 7 sources.
Same as the two-source combine overload, for 8 sources.
Performs a non-mutating deep merge of two or more values.
undefinedvalues are skipped (they do not overwrite existing values).nullvalues replace existing values.