-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js.flow
More file actions
18 lines (17 loc) · 766 Bytes
/
Copy pathindex.js.flow
File metadata and controls
18 lines (17 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// @flow
declare export function set<T>(x?: Iterable<T>): Set<T>;
declare export function and<T>(a: Iterable<T>, b: Iterable<T>): Set<T>;
declare export function or<T>(a: Iterable<T>, b: Iterable<T>): Set<T>;
declare export function not<T>(a: Iterable<T>, b: Iterable<T>): Set<T>;
declare export function xor<T>(a: Iterable<T>, b: Iterable<T>): Set<T>;
declare export function equal(a: Iterable<any>, b: Iterable<any>): boolean;
declare export function subset(a: Iterable<any>, b: Iterable<any>): boolean;
declare export function strictSubset(
a: Iterable<any>,
b: Iterable<any>
): boolean;
declare export function superset(a: Iterable<any>, b: Iterable<any>): boolean;
declare export function strictSuperset(
a: Iterable<any>,
b: Iterable<any>
): boolean;