forked from mirror/misskey
11 lines
252 B
TypeScript
11 lines
252 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
export type Predicate<T> = (a: T) => boolean;
|
|
|
|
export type Relation<T, U> = (a: T, b: U) => boolean;
|
|
|
|
export type EndoRelation<T> = Relation<T, T>;
|