jormungandr-bite/src/prelude/relation.ts

4 lines
101 B
TypeScript
Raw Normal View History

2018-12-19 00:59:43 -07:00
export type Relation<T, U> = (x: T, y: U) => boolean;
export type EndoRelation<T> = Relation<T, T>;