kyo.Maybe$package.Maybe.Defined
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Creates a Defined instance.
Creates a Defined instance.
Type parameters
-
A
-
the type of the value
Value parameters
-
v
-
the value to wrap
Attributes
-
Returns
-
a Defined instance containing the value
Extracts the value from a Maybe instance.
Extracts the value from a Maybe instance.
Type parameters
-
A
-
the type of the value
Value parameters
-
opt
-
the Maybe instance to extract from
Attributes
-
Returns
-
the extracted value wrapped in Maybe.Ops