Function: -elem-indices

-elem-indices is a byte-compiled function defined in dash.el.

Signature

(-elem-indices ELEM LIST)

Documentation

Return the list of indices at which ELEM appears in LIST.

That is, the indices of all elements of LIST equal to ELEM, in the same ascending order as they appear in LIST.

View in manual

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -elem-indices (elem list)
  "Return the list of indices at which ELEM appears in LIST.
That is, the indices of all elements of LIST `equal' to ELEM, in
the same ascending order as they appear in LIST."
  (declare (pure t) (side-effect-free t))
  (--find-indices (equal elem it) list))