std-count-if-not | ![]() |
STD-COUNT-IF-NOT
counts the number of any not matching element in the list. It returns a integer number.
(std-count-if-not 'numberp '(0 1 2 3)) => 0 (std-count-if-not 'stringp '(0 "1" 2 "3")) => 2
pred: a function or lambda list accepting one argument and returning either nil or non-nil.
lst: any proper list.
A positive integer number or 0.
Beware that the predicate pred may produce any side-effects.
(std-require 'STDLIST)
Defined in STDLIST
#- SMALL