h2non / hu

Small, generic functional helper library for node.js and browsers
MIT License
20 stars 3 forks source link

Add extend if property value is not empty #33

Open h2non opened 10 years ago

h2non commented 10 years ago

Add extend if property value is not empty

hu.extendIf({a: true}, {a: null}) // {a: true}