Documentation / kotlin-core / com.femastudios.kotlin.core / kotlin.collections.Iterable / flatMapToSet

flatMapToSet

inline fun <T, R> Iterable<T>.flatMapToSet(crossinline transform: (T) -> Iterable<R>): Set<R>

Returns a set of all elements yielded from results of transform function being invoked on each element of original collection.