Function: cl-member-if-not

cl-member-if-not is an autoloaded and byte-compiled function defined in cl-seq.el.gz.

Signature

(cl-member-if-not PREDICATE LIST [KEYWORD VALUE]...)

Documentation

Find the first item not satisfying PREDICATE in LIST.

Return the sublist of LIST whose car matches.

Keywords supported: :key

View in manual

Aliases

member-if-not (obsolete since 27.1)

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-seq.el.gz
;;;###autoload
(defun cl-member-if-not (pred list &rest cl-keys)
  "Find the first item not satisfying PREDICATE in LIST.
Return the sublist of LIST whose car matches.
\nKeywords supported:  :key
\n(fn PREDICATE LIST [KEYWORD VALUE]...)"
  (declare (important-return-value t))
  (apply #'cl-member nil list :if-not pred cl-keys))