map<U> method
Maps an Maybe
Implementation
Maybe<U> map<U>(U f(T val)) {
if (this != null) return Some(f(this!.value));
return None();
}
Maps an Maybe
Maybe<U> map<U>(U f(T val)) {
if (this != null) return Some(f(this!.value));
return None();
}