Static methods
staticequalsUnordered<T>(a:Array<T>, b:Array<T>):Bool
Return true only if both arrays contain the same elements (possibly in a different order).
Parameters:
a | The first array to compare. |
---|---|
b | The second array to compare. |
Returns:
Weather both arrays contain the same elements.
staticintersect<T>(list:Array<T>, intersect:Array<T>):Array<T>
Return the list of items which are present in both list
and intersect
.
@return
Parameters:
list | |
---|---|
intersect |
staticsubtract<T>(list:Array<T>, subtract:Array<T>):Array<T>
Return the list of items which are present in list
but not in subtract
.
TODO: There should be a thx.core
function for this.
Parameters:
list | The list of items |
---|---|
subtract | The list of items to subtract |
Returns:
A list of items which are present in list
but not in subtract
.