chainNullableK<C, L, R, R2> function
ReaderTaskEither<C, L, R2> Function(ReaderTaskEither<C, L, R> taskEither)
chainNullableK<C, L, R, R2>(
- R2? f(
- R right
- L onNone(
- 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));