zipWith<U extends Object, R extends Object> method
Zips self and another Option with function f
Implementation
Option<R> zipWith<U extends Object, R extends Object>(
Option<U> other, R Function(T, U) f) {
if (v == null) {
return None;
} else {
if (other.isSome()) {
return Some(f(v!, other.unwrap()));
}
return None;
}
}