import { comparable } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { union } = comparable;
Create a Comparable from two other Comparables. The resultant Comparable checks that any two values are equal according to at least one of the supplied eqs.
It should be noted that we cannot differentiate the eq used to compare two disparate types like number and number[]. Thus, internally union must type cast to any and treat thrown errors as a false equivalence.
Parameters
second: Comparable<I>
Returns
<A>(first: Comparable<A>) => Comparable<A | I>