Function: --each-indexed

--each-indexed is a function alias for --each, defined in dash.el.

Signature

(--each-indexed LIST &rest BODY)

Documentation

Evaluate BODY for each element of LIST and return nil.

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

Aliases

--each-indexed