Get the value of the optional argument, assuming the argument is not empty.
Get the value of the optional argument, assuming the argument is not empty.
the value of the optional argument, or throw an exception if it is None
Get the value of the optional argument if it is defined, otherwise return the given default.
Get the value of the optional argument if it is defined, otherwise return the given default.
A block evaluating to a default value, if the the optional value is not defined
The value of the optional argument if one was defined, otherwise the value of d
Determine if the optional argument is defined (contains Some(value))
Determine if the optional argument is defined (contains Some(value))
true if option contains Some(value), false otherwise
Determine if the optional argument is empty (contains None)
Determine if the optional argument is empty (contains None)
true if the option is None, false otherwise
The raw Option value.
The raw Option value. May be implicitly constructed from raw value of type A
Provides idiomatic optional parameter values on top of Option, but which can be passed in as raw values, instead of having to pass in Some(value)
The underlying value type.