Function: evil-visual-type

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

Signature

(evil-visual-type &optional SELECTION)

Documentation

Return the type of the Visual selection.

If SELECTION is specified, return the type of that instead.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-states.el
(defun evil-visual-type (&optional selection)
  "Return the type of the Visual selection.
If SELECTION is specified, return the type of that instead."
  (or (and (null selection) (evil-visual-state-p) evil-this-type)
      (symbol-value (cdr (assq (or selection evil-visual-selection)
                               evil-visual-alist)))))