View source

enum thx.Either<L, R>

Available on all platforms

Either wraps one value of two possible types.

Constructors

Left (value:L)

Left contructors wrapping a value of type L

Right (value:R)

Right contructors wrapping a value of type R