mirror of
https://github.com/misskey-dev/misskey
synced 2024-06-27 21:07:39 +02:00
6 lines
148 B
TypeScript
6 lines
148 B
TypeScript
export type Predicate<T> = (a: T) => boolean;
|
|
|
|
export type Relation<T, U> = (a: T, b: U) => boolean;
|
|
|
|
export type EndoRelation<T> = Relation<T, T>;
|