import { comparable } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { tuple } = comparable;
Creates a eq that compares, index for index, tuples according to the order and eqs passed into tuple.
Type Parameters
T extends ReadonlyArray<Comparable<any>>
Parameters
...comparables: T
Returns
Comparable<[K in keyof T]: T[K] extends Comparable<infer A> ? A : never>