2018-12-19 15:38:27 +02:00
|
|
|
export type Predicate<T> = (a: T) => boolean;
|
2018-12-19 10:08:09 +02:00
|
|
|
|
2018-12-19 15:38:27 +02:00
|
|
|
export type Relation<T, U> = (a: T, b: U) => boolean;
|
2018-12-19 09:59:43 +02:00
|
|
|
|
|
|
|
export type EndoRelation<T> = Relation<T, T>;
|