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. This function is deprecated in the Common Lisp standard. Prefer member-if with a negated predicate, and composing any :key function into the predicate.

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.
This function is deprecated in the Common Lisp standard.
Prefer `member-if' with a negated predicate, and composing any `:key'
function into the predicate.
\nKeywords supported:  :key
\n(fn PREDICATE LIST [KEYWORD VALUE]...)"
  (declare (important-return-value t))
  (apply #'cl-member pred list :test-not #'funcall cl-keys))