bimap<L1, L2, R1, R2> function
StreamEither<L2, R2> Function(StreamEither<L1, R1> either$)
bimap<L1, L2, R1, R2>({
- required L2 left(
- L1
- required R2 right(
- R1
Implementation
StreamEither<L2, R2> Function(
StreamEither<L1, R1> either$,
) bimap<L1, L2, R1, R2>({
required L2 Function(L1) left,
required R2 Function(R1) right,
}) =>
match(
left: (value) => Left(left(value)),
right: (value) => Right(right(value)),
);