Get started

removingAll

open override fun removingAll(elements: Collection<E>): PersistentList<E>(source)

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


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

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