Function: seq-count

seq-count is a byte-compiled function defined in transient.el.

Signature

(seq-count PRED SEQUENCE)

Documentation

Return the number of elements in SEQUENCE for which PRED returns non-nil.

Other relevant functions are documented in the sequence group.

Shortdoc

;; sequence
(seq-count #'numberp '(1 b c 4))
    => 2

Implementations

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

Undocumented

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
;; Could not find source code, showing raw function object.
#[514 "\300C\301\302\303#\"\210\211\242\207"
      [0 seq-do make-closure
	 #[257 "\300!\205�\301\211\242T\240\207"
	       [V0 V1]
	       3 "\n\n(fn ELT)"]]
      8 "\n\n(fn PRED SEQUENCE)"]