code: function reject(pred, m) {
    if(!isPredOrFunc(pred)) {
      throw new TypeError(
        'reject: Pred or predicate function required for first argument'
      )
    }
  
    const fn =
      x => predOrFunc(pred, x)
  
    if(m && isFunction(m.reject)) {
      return m.reject(fn)
    }
  
    if(isArray(m)) {
      return m.filter(not(fn))
    }
  
    if(isObject(m)) {
      return object.filter(not(fn), m)
    }
  
    throw new TypeError('reject: Foldable or Object required for second argument')
  }
docs: reject : Foldable f => (a -> Boolean) -> f a -> f a