なんかもうめっちゃ変えた
This commit is contained in:
5
packages/backend/src/misc/prelude/relation.ts
Normal file
5
packages/backend/src/misc/prelude/relation.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export type Predicate<T> = (a: T) => boolean;
|
||||
|
||||
export type Relation<T, U> = (a: T, b: U) => boolean;
|
||||
|
||||
export type EndoRelation<T> = Relation<T, T>;
|
Reference in New Issue
Block a user