src/index.js
function deregisterWishesWithContext(context, type, wishContextTypes) {
  const deregisteredWishes = getWishesWithContext(
    context,
    type,
    wishContextTypes,
  )
  _each(deregisteredWishes, (wish, i) => {
    deregisteredWishes[i] = deregisterWish(wish)
  })
  return deregisteredWishes
}
function deregisterWishesWithContext(context, type, wishContextTypes) {
  const deregisteredWishes = getWishesWithContext(
    context,
    type,
    wishContextTypes,
  )
  _each(deregisteredWishes, (wish, i) => {
    deregisteredWishes[i] = deregisterWish(wish)
  })
  return deregisteredWishes
}
function deregisterWishesWithContext ( context , type , wishContextTypes ) { const deregisteredWishes = getWishesWithContext ( context , type , wishContextTypes , ) _each ( deregisteredWishes , ( wish , i ) => { deregisteredWishes [ i ] = deregisterWish ( wish ) } ) return deregisteredWishes }
Convenience method which calls getWishesWithContext and passes the arguments
which are passed to this function. Then deregisters each of these.
@param {string|Array.<string>} context The context the lookup
@param {string} [type='any'] 'all', 'any', or 'none' referring to the
context parameter
@param {string|Array.<string>} [wishContextTypes=['any', 'all', 'none']]
The type of wish contexts to compare
@returns {Array.<object>} the deregistered wishes.
@public
Convenience method which calls getWishesWithContext and passes the arguments which are passed to this function . Then deregisters each of these .