jormungandr-bite/src/prelude/relation.ts

6 lines
148 B
TypeScript
Raw Normal View History

export type Predicate<T> = (a: T) => boolean;
2018-12-19 01:08:09 -07:00
export type Relation<T, U> = (a: T, b: U) => boolean;
2018-12-19 00:59:43 -07:00
export type EndoRelation<T> = Relation<T, T>;