Get started

removingAll

Returns a new persistent collection containing all elements of this collection except the elements contained in the specified elements collection, or this instance if there are no elements to remove.


open fun removingAll(predicate: (E) -> Boolean): PersistentCollection<E>(source)

Returns a new persistent collection with elements matching the specified predicate removed, or this instance if no elements match the predicate.