function mapimport { map } from "https://deno.land/x/ahh@v0.11.0/src/option/mod.ts"; map<T, U>(opt: Option<T>, f: (_: T) => U): Option<U>Calls f with opt, and returns the result. ExamplesExample 1 import { default as O, None } from "./mod.ts"; console.log(O.map(1, (i) => i + 1)); // 2 console.log(O.map(None, (i: number) => i + 1)); // undefined Type ParametersTUParametersopt: Option<T>f: (_: T) => UReturnsOption<U>