Namespace: combinations

shared. combinations

Classes

Combinations

Methods


<static> areEqualCombinations(combination0, combination1)

Check if two arrays are the same set, that is, they contain the same elements. TODO: Rename. Also, make it a static method of Combinations?
Parameters:
Name Type Description
combination0 Array
combination1 Array
Returns:
Type
Boolean

<static> combinationContainsElement(combination, element)

Check if given set contains the given element.
Parameters:
Name Type Description
combination Array
element Object
Returns:
Type
Boolean