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

distinct

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

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

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> Field<Sequence<T>>.distinct(): Field<Sequence<T>>

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

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