function pickProperty (props) {
  const pure = {}
  for (const prop in props) {
    if (props[prop] !== undefined) {
      pure[prop] = props[prop]
    }
  }
  return pure
}
Clears out all undefined properties from an object.
@param {Object} props
@returns {Object} Sanitized object with defined values.