Function: --max-by

--max-by is a macro defined in dash.el.

Signature

(--max-by FORM LIST)

Documentation

Anaphoric version of -max-by.

The items for the comparator form are exposed as "it" and "other".

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defmacro --max-by (form list)
  "Anaphoric version of `-max-by'.

The items for the comparator form are exposed as \"it\" and \"other\"."
  (declare (debug (def-form form)))
  `(-max-by (lambda (it other) (ignore it other) ,form) ,list))