Determine whether all elements in the specified collection are in the neighbourhood of the calling collection.
The other elements to compare to.
Determine whether this collection contains any of the same elements as another collection.
The other elements to compare to.
Determine whether this collection contains all of the elements of another collection.
Determine whether all elements in this collection satisfy the specified test function.
The test function that returns truthy values for elements that satisfy the test and falsey values for elements that do not satisfy the test. ele - The current element. i - The index of the current element. eles - The collection of elements being tested.
Optional
thisArg: any[optional] The value for this within the test function.
Determine whether this collection contains exactly the same elements as another collection.
The other elements to compare to.
Determine whether any element in this collection satisfies the specified test function.
The test function that returns truthy values for elements that satisfy the test and falsey values for elements that do not satisfy the test. ele - The current element. i - The index of the current element. eles - The collection of elements being tested.
Optional
thisArg: any[optional] The value for this within the test function.
http://js.cytoscape.org/#collection/comparison