chainNullableK<L, R, R2> function

TaskEither<L, R2> Function(TaskEither<L, R> taskEither) chainNullableK<L, R, R2>(
  1. R2? f(
    1. R right
    ),
  2. L onNone(
    1. 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));