Function: action:param-count

action:param-count is a byte-compiled function defined in hact.el.

Signature

(action:param-count ACTION)

Documentation

Return the number of args in ACTION's arg list.

Keywords and special symbols like &optional and &key are excluded.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hact.el
(defun action:param-count (action)
  "Return the number of args in ACTION's arg list.
Keywords and special symbols like &optional and &key are excluded."
  (length (seq-filter (lambda (sym)
			(not (or (keywordp sym)
				 (string-match "^&" (symbol-name sym)))))
		      (action:params action))))