Function: -last

-last is a byte-compiled function defined in dash.el.

Signature

(-last PRED LIST)

Documentation

Return the last x in LIST where (PRED x) is non-nil, else nil.

View in manual

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -last (pred list)
  "Return the last x in LIST where (PRED x) is non-nil, else nil."
  (declare (important-return-value t))
  (--last (funcall pred it) list))