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

associateByF

fun <T, K, V> Field<Iterable<T>>.associateByF(keySelector: (T) -> Field<K>, valueTransform: (T) -> Field<V>): Field<Map<K, V>>
fun <T, K> Field<Iterable<T>>.associateByF(keySelector: (T) -> Field<K>): Field<Map<K, T>>

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

See Also

kotlin.collections.associateBy