forked from mirror/misskey
6 lines
148 B
TypeScript
6 lines
148 B
TypeScript
export type Predicate<T> = (x: T) => boolean;
|
|
|
|
export type Relation<T, U> = (x: T, y: U) => boolean;
|
|
|
|
export type EndoRelation<T> = Relation<T, T>;
|