import { option } from "https://deno.land/x/fun@v2.0.0-alpha.12/mod.ts";
const { getOrElse } = option;
getOrElse operates like a simplified fold. One supplies a thunk that returns a default inner value of the Option for the cases where the option is None.
Parameters
onNone: () => B