Function: -count

-count is a byte-compiled function defined in dash.el.

Signature

(-count PRED LIST)

Documentation

Counts the number of items in LIST where (PRED item) is non-nil.

View in manual

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -count (pred list)
  "Counts the number of items in LIST where (PRED item) is non-nil."
  (declare (important-return-value t))
  (--count (funcall pred it) list))