Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conditional ¶
type Conditional[A any] struct { }
func NewConditional ¶
func NewConditional[A any]() *Conditional[A]
func (*Conditional[A]) If ¶
func (c *Conditional[A]) If(condition bool, trueRes A, falseRes A) A
Click to show internal directories.
Click to hide internal directories.