Function: hypb:char-count

hypb:char-count is a byte-compiled function defined in hypb.el.

Signature

(hypb:char-count CHAR ARRAY)

Documentation

Return count of occurrences of CHAR in ARRAY.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hypb.el
(defun hypb:char-count (char array)
  "Return count of occurrences of CHAR in ARRAY."
  (let ((i 0) (c 0) (l (length array)))
    (while (< i l)
      (when (= char (aref array i)) (setq c (1+ c)))
      (setq i (1+ i)))
    c))