Function: --reject-first

--reject-first is a function alias for --remove-first, defined in dash.el.

Signature

(--reject-first FORM LIST)

Documentation

Remove the first item from 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 a non-destructive operation, but only the front of LIST leading up to the removed item is a copy; the rest is LIST's original tail. If no item is removed, then the result is a complete copy. This is the anaphoric counterpart to -remove-first.

Aliases

--reject-first