UNPKG

466 BTypeScriptView Raw
1import type { IInto } from "./into.js";
2/**
3 * Generic interface for set collection types.
4 *
5 * @param V - value type
6 * @param T - return type
7 */
8export interface ISet<V, T> extends IInto<V, T> {
9 /**
10 * Conjoins/adds value `x` to set.
11 *
12 * @param x - value to add
13 */
14 conj(x: V): T;
15 /**
16 * Disjoins/removes value `x` from set.
17 *
18 * @param x - value to remove
19 */
20 disj(x: V): T;
21}
22//# sourceMappingURL=set.d.ts.map
\No newline at end of file