left<R> method
Return a Left that contains this value. This is a shorthand for Either.left.
Example
Either<int, Never> e1 = 1.left<Never>();
Either<int, String> e2 = 1.left<String>();
Implementation
Either<T, R> left<R>() => Either<T, R>.left(this);