chainNullableK<L, R, R2> function
TaskEither<L, R2> Function(TaskEither<L, R> taskEither)
chainNullableK<L, R, R2>(
- R2? f(
- R right
- L onNone(
- R right
Chainable variant of fromNullableK.
Implementation
TaskEither<L, R2> Function(
TaskEither<L, R> taskEither,
) chainNullableK<L, R, R2>(
R2? Function(R right) f,
L Function(R right) onNone,
) =>
flatMap(fromNullableK(f, onNone));