flatMap<L2, R2> abstract method

Either<L2, R2> flatMap<L2, R2>(
  1. Map1<L, Either<L2, R2>> leftFunction,
  2. Map1<R, Either<L2, R2>> rightFunction
)

Returns a new Either created by the either-returning transformation leftFunction or rightFunction.

Implementation

Either<L2, R2> flatMap<L2, R2>(
  Map1<L, Either<L2, R2>> leftFunction,
  Map1<R, Either<L2, R2>> rightFunction,
);