toSet

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

Wraps the given items in a mutable unordered set.