import { fromPredicate } from "https://deno.land/x/fun@v2.0.0-alpha.6/option.ts";
fromPredicate will test the value a with the predicate. If the predicate evaluates to false then the function will return a None, otherwise the value wrapped in Some
TODO: Overload with refinement
Type Parameters
B extends A
Parameters
refinement: Refinement<A, B>