fromNullableWith<A> function

TaskOption<A> Function(A? value) fromNullableWith<A>()

A fromNullable variant that enforces the input type. Useful for function composition.

Implementation

TaskOption<A> Function(A? value) fromNullableWith<A>() => fromNullable;