src/transformation.js
function assignNotNull(target, ...sources) {
  sources.forEach(source => {
    Object.keys(source).forEach(key => {
      if (source[key] != null) {
        target[key] = source[key];
      }
    })
  });
  return target;
}
function assignNotNull(target, ...sources) {
  sources.forEach(source => {
    Object.keys(source).forEach(key => {
      if (source[key] != null) {
        target[key] = source[key];
      }
    })
  });
  return target;
}
Assign key, value to target, when value is not null.<br>
This function mutates the target!
@param {object} target the object to assign the values to
@param {object} sources one or more objects to get values from
@returns {object} the target after the assignment