export type Relation = (x: T, y: U) => boolean; export type EndoRelation = Relation;