Documentation / dataflow / com.femastudios.dataflow.extensions / flatMapToSetF
Go to reference

flatMapToSetF

fun <T, R> Field<Iterable<T>>.flatMapToSetF(transform: (T) -> Field<Iterable<R>>): Field<Set<R>>
fun <K, V, R> Field<Map<K, V>>.flatMapToSetF(transform: (Entry<K, V>) -> Field<Iterable<R>>): Field<Set<R>>

Same as flatMapToSet, but accepts Field and returns a new Field.

See Also

com.femastudios.kotlin.core.flatMapToSet