Branch

data class Branch<B, C>(val left: B? = null, val right: C? = null)

Return type to indicate that the action can return one of two types. Facilitates branching

Constructors

Link copied to clipboard
constructor(left: B? = null, right: C? = null)

Properties

Link copied to clipboard
val left: B? = null
Link copied to clipboard
val right: C? = null

Functions

Link copied to clipboard
fun get(): Any?