Aktueller Stand

This commit is contained in:
2026-01-22 19:05:45 +01:00
parent 85dee61a4d
commit e280e4eadb
1967 changed files with 397327 additions and 74093 deletions

View File

@@ -2,17 +2,17 @@
* Mnemonist Set Typings
* ======================
*/
export function intersection<T>(...set: Array<Set<T>>): Set<T>;
export function union<T>(...set: Array<Set<T>>): Set<T>;
export function difference<T>(a: Set<T>, b: Set<T>): Set<T>;
export function symmetricDifference<T>(a: Set<T>, b: Set<T>): Set<T>;
export function isSubset<T>(a: Set<T>, b: Set<T>): boolean;
export function isSuperset<T>(a: Set<T>, b: Set<T>): boolean;
export function add<T>(a: Set<T>, b: Set<T>): void;
export function subtract<T>(a: Set<T>, b: Set<T>): void;
export function intersect<T>(a: Set<T>, b: Set<T>): void;
export function disjunct<T>(a: Set<T>, b: Set<T>): void;
export function intersectionSize<T>(a: Set<T>, b: Set<T>): number;
export function unionSize<T>(a: Set<T>, b: Set<T>): number;
export function jaccard<T>(a: Set<T>, b: Set<T>): number;
export function overlap<T>(a: Set<T>, b: Set<T>): number;
export function intersection<T>(a: ReadonlySet<T>, b: ReadonlySet<T>, ...rest: Array<ReadonlySet<T>>): Set<T>;
export function union<T>(a: ReadonlySet<T>, b: ReadonlySet<T>, ...rest: Array<ReadonlySet<T>>): Set<T>;
export function difference<T>(a: ReadonlySet<T>, b: ReadonlySet<T>): Set<T>;
export function symmetricDifference<T>(a: ReadonlySet<T>, b: ReadonlySet<T>): Set<T>;
export function isSubset<T>(a: ReadonlySet<T>, b: ReadonlySet<T>): boolean;
export function isSuperset<T>(a: ReadonlySet<T>, b: ReadonlySet<T>): boolean;
export function add<T>(a: Set<T>, b: ReadonlySet<T>): void;
export function subtract<T>(a: Set<T>, b: ReadonlySet<T>): void;
export function intersect<T>(a: Set<T>, b: ReadonlySet<T>): void;
export function disjunct<T>(a: Set<T>, b: ReadonlySet<T>): void;
export function intersectionSize<T>(a: ReadonlySet<T>, b: ReadonlySet<T>): number;
export function unionSize<T>(a: ReadonlySet<T>, b: ReadonlySet<T>): number;
export function jaccard<T>(a: ReadonlySet<T>, b: ReadonlySet<T>): number;
export function overlap<T>(a: ReadonlySet<T>, b: ReadonlySet<T>): number;