Either<T, R>.ok constructor

Either<T, R>.ok(
  1. T ok
)

Construct a new instance with value T ok,

Implementation

factory Either.ok(T ok) => Either(ok: ok);