Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / flatten
Go to reference
Go to reference
flatten
fun <T> Attribute<Iterable<Iterable<T>>>.flatten(): Attribute<List<T>>
Same as flatten, but accepts Attribute and returns a new Attribute.
Calling this function is equivalent to use transform and calling flatten in the transformation function.
This is simply a convenience function.
See Also
@JvmName("flattenSequenceOfIterable") fun <T> Attribute<Sequence<Iterable<T>>>.flatten(): Attribute<Sequence<T>>
fun <T> Attribute<Sequence<out Sequence<T>>>.flatten(): Attribute<Sequence<T>>
Same as flatten, but accepts Attribute and returns a new Attribute.
Calling this function is equivalent to use transform and calling flatten in the transformation function.
This is simply a convenience function.
See Also