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

distinct

fun <T> Attribute<Iterable<T>>.distinct(): Attribute<List<T>>

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

Calling this function is equivalent to use transform and calling distinct in the transformation function.

This is simply a convenience function.

See Also

kotlin.collections.distinct


fun <T> Attribute<Sequence<T>>.distinct(): Attribute<Sequence<T>>

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

Calling this function is equivalent to use transform and calling distinct in the transformation function.

This is simply a convenience function.

See Also

kotlin.sequences.distinct