src/index.js
function _filterInContextWishes(wishes) {
  const inContextWishes = []
  _each(wishes, wish => {
    if (wish && _wishInContext(wish)) {
      inContextWishes.push(wish)
    }
  })
  return inContextWishes
}
function _filterInContextWishes(wishes) {
  const inContextWishes = []
  _each(wishes, wish => {
    if (wish && _wishInContext(wish)) {
      inContextWishes.push(wish)
    }
  })
  return inContextWishes
}
function _filterInContextWishes ( wishes ) { const inContextWishes = [ ] _each ( wishes , wish => { if ( wish && _wishInContext ( wish ) ) { inContextWishes . push ( wish ) } } ) return inContextWishes }
Returns a filtered array of the wishes which are in context.
@param {Array.<wish>} wishes - the wishes to filter
@returns {Array.<wish>} wishes - the wishes which are in context
@private
Returns a filtered array of the wishes which are in context .