Function: --find-indices

--find-indices is a macro defined in dash.el.

Signature

(--find-indices FORM LIST)

Documentation

Return the list of indices in LIST for which FORM evals to non-nil.

Each element of LIST in turn is bound to it and its index within LIST to it-index before evaluating FORM. This is the anaphoric counterpart to -find-indices.

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defmacro --find-indices (form list)
  "Return the list of indices in LIST for which FORM evals to non-nil.
Each element of LIST in turn is bound to `it' and its index
within LIST to `it-index' before evaluating FORM.
This is the anaphoric counterpart to `-find-indices'."
  (declare (debug (form form)))
  `(--keep (and ,form it-index) ,list))