TupleCase

data class TupleCase(val tag: String, val values: List<Any?>) : NativeUnionVal

Represents a tuple union case with associated values.

Constructors

Link copied to clipboard
constructor(tag: String, values: List<Any?>)

Properties

Link copied to clipboard

Returns true if this is a tuple case (has associated values).

Link copied to clipboard

Returns true if this is a void case (no associated values).

Link copied to clipboard
open override val tag: String

The union case name

Link copied to clipboard
val values: List<Any?>

The associated values for this union case