scalus.prelude.Maybe
See theMaybe companion enum
object Maybe
Attributes
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Constructs a Maybe
from a value. If the value is null
, it returns Nothing
, otherwise Just(value)
.
Constructs a Maybe
from a value. If the value is null
, it returns Nothing
, otherwise Just(value)
.
Attributes
Converts an Option to a Maybe
Converts an Option to a Maybe
Attributes
In this article