Returns the value if present, otherwise the other.
The value to return if the optional is empty.
Returns the value contained by the optional if present, otherwise returns other.