Get started

adding

open fun adding(element: E): PersistentCollection<E>(source)

Returns a new persistent collection with the specified element added, or this instance if this collection does not support duplicates and it already contains the element.