chainNullableK<C, L, R, R2> function

ReaderTaskEither<C, L, R2> Function(ReaderTaskEither<C, L, R> taskEither) chainNullableK<C, L, R, R2>(
  1. R2? f(
    1. R right
    ),
  2. L onNone(
    1. R right
    )
)

Chainable variant of fromNullableK.

Implementation

ReaderTaskEither<C, L, R2> Function(
  ReaderTaskEither<C, L, R> taskEither,
) chainNullableK<C, L, R, R2>(
  R2? Function(R right) f,
  L Function(R right) onNone,
) =>
    flatMap(fromNullableK(f, onNone));