1 2 3 4 5
export type Predicate<T> = (a: T) => boolean; export type Relation<T, U> = (a: T, b: U) => boolean; export type EndoRelation<T> = Relation<T, T>;