Function: -group-by
-group-by is a byte-compiled function defined in dash.el.
Signature
(-group-by FN LIST)
Documentation
Separate LIST into an alist whose keys are FN applied to the
elements of LIST. Keys are compared by equal.
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -group-by (fn list)
"Separate LIST into an alist whose keys are FN applied to the
elements of LIST. Keys are compared by `equal'."
(declare (important-return-value t))
(--group-by (funcall fn it) list))