Creates new instance of Collection that contains all items from the given array. The instance doesn't depends on underlying array, IOW changes in the array won't affect the container.
array to copy items from.
defines either elements from given array will be copied into the result collection or given array will be reused by the collection. Be aware that in the second case changes in the array mean changes in the collection. By default it copies the array.
new instance of Collection.
Creates new instance of empty Collection.
new instance of empty Collection.
Compares two numbers. Uses default comparison operators.
Compares two numbers. Uses default lexicographical string comparison.
Generated using TypeDoc
Contains factory functions for creating instances of commonly used ADTs.