Function: seq-remove

seq-remove is an autoloaded and byte-compiled function defined in seq-25.el.

Signature

(seq-remove PRED SEQUENCE)

Documentation

Return a list of all the elements in SEQUENCE for which PRED returns nil.

Other relevant functions are documented in the sequence group.

Shortdoc

;; sequence
(seq-remove #'numberp '(1 2 c d 5))
    => (c d)

Aliases

gnus-remove-if (obsolete since 27.1)

Implementations

(pred sequence) in `seq-25.el'.

Undocumented

Source Code

;; Defined in ~/.emacs.d/elpa/seq-2.24/seq-25.el
;;;###autoload
(cl-defgeneric seq-remove (pred sequence)
  "Return a list of all the elements in SEQUENCE for which PRED returns nil."
  (seq-filter (lambda (elt) (not (funcall pred elt)))
              sequence))