Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / distinctByA
Go to reference

distinctByA

fun <T, K> Attribute<Iterable<T>>.distinctByA(selector: (T) -> Attribute<K>): Attribute<List<T>>

Same as distinctBy, but accepts Attribute and returns a new Attribute.

See Also

kotlin.collections.distinctBy