import { refinement } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { union } = refinement;
Union is an alias of or.
Type Parameters
I extends B
Parameters
gi: Refinement<B, I>
Returns
<A extends B>(ga: Refinement<B, A>) => Refinement<B, A | I>