import { option } from "https://deno.land/x/fun@v2.0.0-alpha.12/mod.ts";
const { filter } = option;
Apply a refinement or predicate to the inner value of an Option, returning the original option if the value exists and the predicate/refinement return true, otherwise returning None.
Type Parameters
B extends A