function comparatorimport { comparator } from "https://dotland.deno.dev/x/rambda@9.4.1/files/index.d.ts"; comparator<T>(pred: (a: T, b: T) => boolean): (x: T, y: T) => OrderingType ParametersTParameterspred: (a: T, b: T) => booleanReturns(x: T, y: T) => Ordering