mapLeft<C> method
- C f(
- L l
Change the value in the Left of TaskEither.
Implementation
TaskEither<C, R> mapLeft<C>(C Function(L l) f) => TaskEither(
() async => (await run()).match((l) => Either.left(f(l)), Either.of),
);
Change the value in the Left of TaskEither.
TaskEither<C, R> mapLeft<C>(C Function(L l) f) => TaskEither(
() async => (await run()).match((l) => Either.left(f(l)), Either.of),
);