Function: consult--type-group

consult--type-group is a byte-compiled function defined in consult.el.

Signature

(consult--type-group TYPES)

Documentation

Return group function for TYPES.

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defun consult--type-group (types)
  "Return group function for TYPES."
  (lambda (cand transform)
    (if transform cand
      (alist-get (get-text-property 0 'consult--type cand) types))))