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

component2

operator fun <T> Field<List<T>>.component2(): Field<T>
operator fun <K, V> Field<Entry<K, V>>.component2(): Field<V>

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

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

This is simply a convenience function.

See Also

kotlin.collections.component2