2023-07-27 14:31:52 +09:00
|
|
|
/*
|
2024-02-13 15:59:27 +00:00
|
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
2023-07-27 14:31:52 +09:00
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
*/
|
|
|
|
|
|
2018-12-19 22:38:27 +09:00
|
|
|
export type Predicate<T> = (a: T) => boolean;
|
2018-12-19 17:08:09 +09:00
|
|
|
|
2018-12-19 22:38:27 +09:00
|
|
|
export type Relation<T, U> = (a: T, b: U) => boolean;
|
2018-12-19 16:59:43 +09:00
|
|
|
|
|
|
|
|
export type EndoRelation<T> = Relation<T, T>;
|