Get started

persistentSetOf

fun <E> persistentSetOf(vararg elements: E): PersistentSet<E>(source)

Returns a new persistent set with the given elements.

Elements of the returned set are iterated in the order they were specified.


Returns an empty persistent set.