arrow-generic / arrow.generic.coproduct4 / first

first

fun <A, B, C, D> A.first(): Coproduct4<A, B, C, D>

Creates a Coproduct from the A type

Return A Coproduct4<A, B, C, D> where the receiver is the A