Function: cl-remove-if
cl-remove-if is an autoloaded and byte-compiled function defined in
cl-seq.el.gz.
Signature
(cl-remove-if PREDICATE SEQ [KEYWORD VALUE]...)
Documentation
Remove all items satisfying PREDICATE in SEQ.
This is a non-destructive function; it makes a copy of SEQ if necessary to avoid corrupting the original SEQ.
Keywords supported: :key :count :start :end :from-end
Aliases
org-remove-if (obsolete since 9.0)
remove-if (obsolete since 27.1)
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-seq.el.gz
;;;###autoload
(defun cl-remove-if (pred list &rest cl-keys)
"Remove all items satisfying PREDICATE in SEQ.
This is a non-destructive function; it makes a copy of SEQ if necessary
to avoid corrupting the original SEQ.
\nKeywords supported: :key :count :start :end :from-end
\n(fn PREDICATE SEQ [KEYWORD VALUE]...)"
(declare (important-return-value t))
(apply #'cl-remove nil list :if pred cl-keys))