5
packages/backend/src/prelude/relation.ts
Normal file
5
packages/backend/src/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