1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-16 07:38:18 +09:00
cherrypick/src/prelude/relation.ts

6 lines
148 B
TypeScript
Raw Normal View History

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