getOrNull

suspend fun <Error, A> Effect<Error, A>.getOrNull(): A?(source)

Run the Effect by returning A, or null if raised with Error.


Run the EagerEffect by returning A, or null if raised with Error.