(rontolisp) docs
← Functions

nsubstitute-if-not

(nsubstitute-if-not new predicate list &key key)

The destructive variant of substitute-if-not: rewrites the car of every cons whose element the predicate rejects and returns the (possibly mutated) original list. Lists only; see nsubstitute-if for the shared cons-reuse semantics.