The array to check.
The object to check for.
Produces the set difference of two sequences by using the default equality comparer to compare values. The source sequence remains unaltered.
An array whose elements that are not also in second
will be returned.
An array whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence.
Returns distinct elements from a sequence by using the default equality comparer to compare values. The source sequence remains unaltered.
The sequence to remove duplicate elements from.
Returns the first element in a sequence that satisfies a specified condition.
The sequence of values to return an element from.
A function to test each element for a condition.
Flattens an array of arrays into a single array of items, e.g. flatten([[1,2], [3], [4,5,6]]) == [1,2,3,4,5,6]. The original array is not modified.
The array to flatten.
Groups the elements of a sequence according to a specified key selector function. The source sequence remains unaltered.
The sequence whose elements to group.
A function to extract the key for each element.
Returns the last element in a sequence that satisfies a specified condition.
The sequence of values to return an element from.
A function to test each element for a condition.
Sorts the elements of a sequence in ascending order according to a key. The source sequence remains unaltered.
The sequence of values to order.
A function to extract the key for each element.
Sorts the elements of a sequence in descending order according to a key. The source sequence remains unaltered.
The sequence of values to order.
A function to extract the key for each element.
Returns the index of a given object, if it exists in an array.
The Array to check.
The object to check for.
Removes a range of items from an Array.
The Array to remove from.
The index to begin removing from.
The index to remove to.
Removes a specific item from an array. If multiple instances of the item exist in the array, only the first reference is removed.
The array to remove from.
The object to remove.
Given an associative array of numbers keyed by strings, returns an array of 'top' tuples ([string][number]) sorted by the number
the collection to sort
the number of items to return
Checks whether or not an array contains a specific object.