Function: -find-last-index

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

Signature

(-find-last-index PRED LIST)

Documentation

Return the index of the last item satisfying PRED in LIST.

Return nil if no such item is found.

Predicate PRED is called with one argument each time, namely the current list element.

This function's anaphoric counterpart is --find-last-index.

See also: -last, -find-index.

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -find-last-index (pred list)
  "Return the index of the last item satisfying PRED in LIST.
Return nil if no such item is found.

Predicate PRED is called with one argument each time, namely the
current list element.

This function's anaphoric counterpart is `--find-last-index'.

See also: `-last', `-find-index'."
  (declare (important-return-value t))
  (--find-last-index (funcall pred it) list))