(rontolisp) docs
← Functions

remove-if-not

(remove-if-not predicate sequence &key key)

Returns a new sequence keeping only the elements of sequence that satisfy predicate (those failing it are removed). The sequence may be a list or a string; a string yields a new string. It is the complement of remove-if. The original sequence is not modified. With :key, the predicate sees the keyed value while the kept elements are the originals.