flatMap
Returns the result of applying
$f to this $
option's value if this$option is nonempty. Returns $
none if this$option is empty. Slightly different from map
in that $
$option (which could be $
none).Parameters
f
the function to apply