Either<T, R>.ok constructor
Either<T, R>.ok (
- T ok
Construct a new instance with value T ok,
Implementation
factory Either.ok(T ok) => Either(ok: ok);
Construct a new instance with value T ok,
factory Either.ok(T ok) => Either(ok: ok);