option
Type members
Classlikes
Value members
Concrete methods
Inherited methods
Catamorphism over the option. Returns the provided function some
applied to item contained in the Option
if it is defined, otherwise, the provided value none
.
Catamorphism over the option. Returns the provided function some
applied to item contained in the Option
if it is defined, otherwise, the provided value none
.
- Inherited from
- OptionFunctions
Returns the given value if None, otherwise lifts the Some value and passes it to the given function.
Returns the given value if None, otherwise lifts the Some value and passes it to the given function.
- Inherited from
- OptionFunctions
Returns the given value if None, otherwise lifts the Some value to Option and passes it to the given function.
Returns the given value if None, otherwise lifts the Some value to Option and passes it to the given function.
- Inherited from
- OptionFunctions
scala.None with a sometimes more convenient type.
scala.None with a sometimes more convenient type.
- Inherited from
- OptionFunctions
Returns the item contained in the Option wrapped in type M if the Option is defined, otherwise, the empty value for type M.
Returns the item contained in the Option wrapped in type M if the Option is defined, otherwise, the empty value for type M.
- Inherited from
- OptionFunctions
scala.Some.apply with a sometimes more convenient type.
scala.Some.apply with a sometimes more convenient type.
- Inherited from
- OptionFunctions
Implicits
Inherited implicits
Add None
as an element less than all A
s.
Add None
as an element less than all A
s.
- Inherited from
- OptionInstances