ZygosoptionmapOn this pagemap() map<A, B>(f): (fa) => Option<B> Maps a function over the value of an Option. Type Parametersโ A: Aโ The input type. B: Bโ The output type. Parametersโ f: (a) => Bโ The mapping function. Returnsโ A function that transforms the Option. Sinceโ 2.0.0