src/reducer.js
function unsetProperty ({bunsenId, formValue, value}) {
  const valueChangeSet = new Map()

  valueChangeSet.set(bunsenId, {
    value,
    type: 'unset'
  })

  return {
    value: unset(formValue, bunsenId),
    valueChangeSet
  }
}
function unsetProperty ({bunsenId, formValue, value}) {
  const valueChangeSet = new Map()

  valueChangeSet.set(bunsenId, {
    value,
    type: 'unset'
  })

  return {
    value: unset(formValue, bunsenId),
    valueChangeSet
  }
}
function unsetProperty ( { bunsenId , formValue , value } ) { const valueChangeSet = new Map ( ) valueChangeSet . set ( bunsenId , { value , type : 'unset' } ) return { value : unset ( formValue , bunsenId ) , valueChangeSet } }
Unset a specific property in the form
@param {String} bunsenId - path to property to unset
@param {Object} formValue - current form value
@param {*} value - property value that triggered unset
@returns {Object} object containing new form value and changeset
Unset a specific property in the form