Nullable Eager Effect Scope
Deprecated
NullableEagerEffectScope is replaced with arrow.core.raise.NullableRaise
Replace with
import arrow.core.raise.NullableRaise
Content copied to clipboard
NullableRaise
Content copied to clipboard
Constructors
Functions
Link copied to clipboard
Folds Either into EagerEffect, by returning B or a shift with R.
Folds Validated into EagerEffect, by returning B or a shift with R.
Runs the EagerEffect to finish, returning B or shift in case of R.
Folds Option into EagerEffect, by returning B or a transforming None into R and shifting the result.
Folds Result into EagerEffect, by returning B or a transforming Throwable into R and shifting the result.
Extensions
Link copied to clipboard
Ensure that value is not null
. if it's non-null it will be smart-casted and returned if it's false
it will shift
with the provided value R. Monadic version of kotlin.requireNotNull.