import { option } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { exists } = option;
Apply a predicate to the inner value of an Option, returning true if the option is Some and the predicate returns true, otherwise returning false.
Parameters
predicate: Predicate<A>