View Source BCS.DataType.Choice (ex_bcs v0.1.1)

The choice type, or the coproduct type, or the sum type, or the enum type, or whatever you want to name it.

Link to this section Summary

Link to this section Types

@type t() :: %BCS.DataType.Choice{
  index: non_neg_integer(),
  selection: BCS.DataType.t()
}

Link to this section Functions

Link to this function

t(selection \\ BCS.DataType.Unit.t(), index)

View Source