Conditionally adds properties from an attribute map to an object. Only adds a property if the corresponding attribute key exists and is truthy.
Conditionally adds properties from an attribute map to an object. Only adds a property if the corresponding attribute key exists and is truthy.