1
0
forked from mirror/misskey
misskey/src/prelude/relation.ts
2018-12-19 17:08:09 +09:00

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>;