import { option } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { apply } = option;
Apply a value A wrapped in an option to a function (a: A) => I wrapped in an Option. If either the wrapped value or the wrapped function are None then the result is None, if they are both Some then the result is Some.