mapToSet

inline fun <C : Collection<T>, T, R> C.mapToSet(destination: MutableSet<R> = mutableSetOf(), transform: (T) -> R): Set<R>

Sources

Link copied to clipboard