You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					19 lines
				
				900 B
			
		
		
			
		
	
	
					19 lines
				
				900 B
			| 
											3 years ago
										 | /** | ||
|  |  * 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; |