import { set } from "https://deno.land/x/fun@v2.0.0-alpha.12/mod.ts";
const { partition } = set;
Given a Predicate or Refinement over A and a ReadonlySet return a Pair with a first value being a ReadonlySet of values that return true when applied to the refinement or predicate and a second value being a ReadonlySet of values that return false when applied to the predicate.
Type Parameters
B extends A
Parameters
predicate: Predicate<A>