Function: -remove

-remove is a byte-compiled function defined in dash.el.

Signature

(-remove PRED LIST)

Documentation

Return a new list of the items in LIST for which PRED returns nil.

Alias: -reject.

This function's anaphoric counterpart is --remove.

For similar operations, see also -keep and -filter.

View in manual

Aliases

-reject

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -remove (pred list)
  "Return a new list of the items in LIST for which PRED returns nil.

Alias: `-reject'.

This function's anaphoric counterpart is `--remove'.

For similar operations, see also `-keep' and `-filter'."
  (declare (important-return-value t))
  (--remove (funcall pred it) list))