Wrapper class that adds a value
method to Option
, allowing
you to make statements like:
Wrapper class that adds a value
method to Option
, allowing
you to make statements like:
opt.value should be > 9
Implicit conversion that adds a value
method to Option
.
Implicit conversion that adds a value
method to Option
.
the Option
on which to add the value
method
Companion object that facilitates the importing of
OptionValues
members as an alternative to mixing it in. One use case is to importOptionValues
's members so you can usevalue
on option in the Scala interpreter: