Function: -reject-first

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

Signature

(-reject-first PRED LIST)

Documentation

Remove the first item from LIST for which PRED returns non-nil.

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.

Alias: -reject-first.

This function's anaphoric counterpart is --remove-first.

See also -map-first, -remove-item, and -remove-last.

Aliases

-reject-first