- Companion
- object
Value members
Inherited methods
Catamorphism. Run the given function on the underlying value if present, otherwise return the provided fallback value
Catamorphism. Run the given function on the underlying value if present, otherwise return the provided fallback value
- Inherited from
- Maybe
Return true
if this is a Maybe.Just and the underlying value
satisfies the provided predicate
Return true
if this is a Maybe.Just and the underlying value
satisfies the provided predicate
- Inherited from
- Maybe
Return true
if this is a Maybe.Empty or if this is a Maybe.Just
and the underlying value satisfies the provided predicate
Return true
if this is a Maybe.Empty or if this is a Maybe.Just
and the underlying value satisfies the provided predicate
- Inherited from
- Maybe
Return the underlying value if present, otherwise the provided fallback value
Return the underlying value if present, otherwise the provided fallback value
- Inherited from
- Maybe
True if no underlying value is present
True if no underlying value is present
- Inherited from
- Maybe
True if an underlying value is present
True if an underlying value is present
- Inherited from
- Maybe
Return this instance if it is a Maybe.Just, otherwise the provided fallback
Return this instance if it is a Maybe.Just, otherwise the provided fallback
- Inherited from
- Maybe
Return the underlying value wrapped in type F
if present, otherwise the
empty value for type F
Return the underlying value wrapped in type F
if present, otherwise the
empty value for type F
- Inherited from
- Maybe
Return the underlying value if present, otherwise the monoid zero
Return the underlying value if present, otherwise the monoid zero
- Inherited from
- Maybe
Turn the underlying value into a failure validation if present, otherwise return a success validation with the provided fallback value
Turn the underlying value into a failure validation if present, otherwise return a success validation with the provided fallback value
- Inherited from
- Maybe
Turn the underlying value into a left disjunction if present, otherwise return a right disjunction with the provided fallback value
Turn the underlying value into a left disjunction if present, otherwise return a right disjunction with the provided fallback value
- Inherited from
- Maybe
Turn the underlying value into a right disjunction if present, otherwise return a left disjunction with the provided fallback value
Turn the underlying value into a right disjunction if present, otherwise return a left disjunction with the provided fallback value
- Inherited from
- Maybe
Turn the underlying value into a success validation if present, otherwise return a failure validation with the provided fallback value
Turn the underlying value into a success validation if present, otherwise return a failure validation with the provided fallback value
- Inherited from
- Maybe