Function: evil--repeat-type

evil--repeat-type is a byte-compiled function defined in evil-repeat.el.

Signature

(evil--repeat-type COMMAND)

Documentation

Return the :repeat property of COMMAND.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-repeat.el
(defun evil--repeat-type (command)
  "Return the :repeat property of COMMAND."
  (when (functionp command) ; ignore keyboard macros
    (let* ((type (evil-get-command-property command :repeat t))
           (repeat-type (assq type evil-repeat-types)))
      (if repeat-type (cdr repeat-type) type))))