defined-assign
v1.0.0
Published
Assign only defined properties from a source object to a target object.
Maintainers
Readme
defined-assign
Assign only defined properties from a source object to a target object
Description
Similar to Object.assign, except only defined properties will be moved to the target object. Useful for when you want to construct an object from an unknown source object (e.g. API payload) and only want to bring over properties with values.
