Applies function to the wrapped value and returns a new instance of Some.
some(1).map(x => x + 1) // Some(2)none.map(x => x + 1) // None
Applies function to the wrapped value and returns a new instance of Some.