Hello
I would like to know, if you planning to create a mergeWith function allowing to customize the merge function. The perfect use exemple is to merge nested array :
mergeWith(
{ a: [1, 2] },
{ a: [3, 4] },
(a, b) => Array.isArray(a) && Array.isArray(b) => [...a, ...b] : undefined
)
// => { a: [1, 2, 3, 4] }
lodash doc: https://lodash.com/docs/4.17.15#mergeWith
Hello
I would like to know, if you planning to create a
mergeWithfunction allowing to customize the merge function. The perfect use exemple is to merge nested array :lodash doc: https://lodash.com/docs/4.17.15#mergeWith