map2<A, A2 extends A, B, B2 extends B, C> static method
Implementation
static Option<C> map2<A, A2 extends A, B, B2 extends B, C>(Option<A2> fa, Option<B2> fb, C fun(A a, B b)) =>
fa.fold(none, (a) => fb.fold(none, (b) => some(fun(a, b))));