We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merges properties recursively, but once a property is set, additional values of the same property are ignored.
const obj1 = { a: { b: [3, 4] } }; const obj2 = { a: { b: [9, 18, 15], c: 3 } }; console.log(objects.defaultsDeep(obj1, obj2); > { a: { b: [ 3, 4, 15 ], c: 3 } }
The text was updated successfully, but these errors were encountered:
@jkvyff Is it just me or does this seem like the same thing as objects.deep?
objects.deep
Sorry, something went wrong.
Added in v0.69
No branches or pull requests
Merges properties recursively, but once a property is set, additional values of the same property are ignored.
Checklist
Details
References
The text was updated successfully, but these errors were encountered: