Function: -last-item

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

Signature

(-last-item LIST)

Documentation

Return the last item of LIST, or nil on an empty list.

See also: -first-item, etc.

View in manual

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -last-item (list)
  "Return the last item of LIST, or nil on an empty list.

See also: `-first-item', etc."
  (declare (pure t) (side-effect-free t))
  (car (last list)))