Remove all falsy values from an object and its nested children | Leo's dev blog – stories, insights, and ideas #79
Replies: 1 comment
-
Hey, thanks for checking out this post! 💡If you found it useful (or have some ideas for improvement), I’d love to hear from you! Leave a comment below with your thoughts, or give a reaction to show your support. It means a lot to me! Cheers 🍺 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Remove all falsy values from an object and its nested children | Leo's dev blog – stories, insights, and ideas
Recursively removes all falsy values (null, undefined, 0, false) from an object and its nested properties.
https://www.leohuynh.dev/snippets/remove-falsy-values-from-an-object
Beta Was this translation helpful? Give feedback.
All reactions