arrow-generic / arrow.generic.coproduct6 / first

first

fun <A, B, C, D, E, F> A.first(): Coproduct6<A, B, C, D, E, F>

Creates a Coproduct from the A type

Return A Coproduct6<A, B, C, D, E, F> where the receiver is the A