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