toSet

open fun <T> toSet(items: Array<T>): Set<T>(source)

Wraps the given items in a mutable unordered set.