Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / component1
Go to reference
Go to reference
component1
operator fun <T> Attribute<List<T>>.component1(): Attribute<T>
operator fun <K, V> Attribute<Entry<K, V>>.component1(): Attribute<K>
Same as component1, but accepts Attribute and returns a new Attribute.
Calling this function is equivalent to use transform and calling component1 in the transformation function.
This is simply a convenience function.
See Also