Gets if that sequence can be resetted or not.
Gets the current iterator result.
Gets the current zero based index.
Handles current items as numbers and returns their absolute values.
The new sequence.
Applies an accumulator function over that sequence. If specified 'seed' is used as the initial accumulator value, and (if specified) the 'resultSelector' is used to select the result value.
An accumulator function to be invoked on each element.
The final value.
Checks if all elements of that sequence satisfy a condition or not.
The condition.
All elements satisfy the condition or not.
Checks if at least one element of that sequence satisfies a condition or not.
The condition.
One element satisfies the condition or not.
Alias for concat()
Alias for concatArray()
Handles current items as numbers and calculates the arc cosine for each item.
The new sequence.
Handles current items as numbers and calculates the arc hyperbolic cosine for each item.
The new sequence.
Handles current items as numbers and calculates the arc sine for each item.
The new sequence.
Handles current items as numbers and calculates the arc hyperbolic sine for each item.
The new sequence.
Handles current items as numbers and calculates the arc tangent for each item.
The new sequence.
Handles current items as numbers and calculates the arc hyperbolic tangent for each item.
The new sequence.
Asserts that all elements of that sequence meet a given condition, otherwise an error is throw at first fail.
The predicate / condition.
Asserts that all elements of that sequence meet a given condition, otherwise an error is throw at the end.
The predicate / condition.
Runs an async action for each item of that sequence.
The promise.
Calculates the average of the items of that sequence.
The average or IS_EMPTY if sequence is empty.
Returns a "casted" version of that sequence.
The "casted" sequence.
Handles current items as float values and returns the smallest value greater than or equal to them.
The new sequence.
Splits the given sequence into chunks of the given size.
The sequence of chunks.
Clones that sequence multiply times.
The sequence of sequences.
Concats the items of that sequences with other ones to a new sequence.
The other sequences.
Concats the items of that sequences with other ones to a new sequence.
The other sequences.
Completely consumes the given sequence. This method uses immediate execution, and doesn't store any data during execution.
Checks if that sequence contains an item.
The item to search for.
Sequence contains item or not.
Handles current items as numbers and calculates the cosine for each item.
The new sequence.
Handles current items as numbers and calculates the hyperbolic cosine for each item.
The new sequence.
Counts the elements of that sequence.
The number of (matching) items.
Alias for defaultSequenceIfEmpty()
Returns the items of that sequence or a default item list if that sequence is empty.
The default items.
The (new) sequence.
Returns the items of that sequence or a default item list if that sequence is empty.
The default items.
The (new) sequence.
Removes duplicate entries from that sequence.
The new sequence.
Removes duplicate entries from that sequence by using a selector.
The selector to use.
The new sequence.
Alias for forEach()
Alias for forAll()
Returns an element at a specific index.
The zero based index.
The element.
Returns an element at a specific index.
The zero based index
The element.
Returns the items of that sequence except a list of specific ones.
The second sequence.
The new sequence.
Handles current items as numbers and calculates e (the base of natural logarithms) raised to each value.
The new sequence.
Returns the first element of that sequence.
The first element.
Tries to return the first element.
The item or the default value.
Returns a flattened sequence that contains the concatenation of all the nested sequences elements.
The flatten items.
Handles current items as float values and return the greatest value less than or equal to them.
The new sequence.
Invokes a function for each element of that sequence and continues even if an error is thrown. All occurred errors will be thrown at the end.
The function to invoke.
Invokes a function for each element of that sequence.
The function to invoke.
Groups the items of that sequence by a key.
The key selector.
The grouped items.
Correlates the elements of that sequence and another based on matching keys and groups them.
The other sequence.
The new sequence.
Returns the zero based index of the first occurrence of an item.
The item to search for.
The index or -1 if not found.
Returns the intersection between this and a second sequence.
The second sequence.
The new sequence.
Returns all elements of the collection separated by the given separator(s).
The new sequence.
Returns all elements of the collection separated by the given separator(s).
The separators.
The new sequence.
Checks if that sequence is empty or not by using the length() method.
Is Empty or not.
Correlates the elements of that sequence and another based on matching keys.
The other sequence.
The new sequence.
Joins the items of that sequence to one string.
The items as string.
Returns the last element of that sequence.
The last element.
Returns the zero based index of the last occurrence of an item.
The item to search for.
The index or -1 if not found.
Tries to return the last element.
The item or the default value.
Returns the length of the underlying collection. If the underlying object does NOT contain a 'length' property, like a generator, it will behave the same way as 'count' method.
The length.
Handles current items as numbers and calculates the logarithm of them.
The new sequence.
Returns a resettable version of that sequence.
The resettable version of that sequence.
Removes all values that are no valid numbers.
The filtered sequence.
Filters the items of that sequence based on a given predicate and returns those items that do not match the predicate.
The filtered sequence.
Removes empty items.
The filtered sequence.
Filters items of specific type.
The type.
The filtered sequence.
Sorts the elements of that sequence in ascending order by using the values itself as keys.
The new sequence.
Sorts the elements of that sequence in ascending order.
The new sequence.
Sorts the elements of that sequence in descending order.
The new sequence.
Sorts the elements of that sequence in descending order by using the values as keys.
The new sequence.
Executes the given action on each element in the source sequence and yields it.
The action to invoke.
The new sequence.
Handles current items as base numbers and take them to a specific power.
The new sequence.
Prepends the itms of other sequences to the ones of that sequence.
The other sequences.
Prepends the itms of other sequences to the ones of that sequence.
The other sequences.
Calculates the product of that sequence.
The product or IS_EMPTY if that sequence is empty.
Pushes the elements of that sequence to an array or stack-like object.
The array or stack.
Randomizes the order of that sequence.
A custom function that provides a random sort value.
The new sequence.
Returns that sequence.
Reverses the order of that sequence.
The new sequence.
Handles current items as numbers and calculates the n-th root for each item.
The new sequence.
Handles current items as float values and return their nearest values.
The new sequence.
Projects the items of that sequence to new values / objects.
The new sequence.
Projects the items of that sequence to new sequences that are flatten to a single sequence.
The new, flatten sequence.
Checks if that sequence is equal to another.
The other sequence.
Both are equal or not.
Alias for rand()
Handles current items as numbers and calculates the sine for each item.
The new sequence.
Handles current items as numbers and calculates the hyperbolic sine for each item.
The new sequence.
Returns the one and only element of that sequence.
The single element.
Tries to return the one and only element.
The item or the default value.
Skips a maximum number of items.
The new sequence.
Takes all elements but the last one.
The new sequence.
Skips items while a condition satisfies.
The new sequence.
Handles current items as numbers and calculates square root for each item.
The new sequence.
Calculates the sum of that sequence.
The sum or IS_EMPTY if that sequence is empty.
Takes a maximum number of items.
The new sequence.
Takes items while a condition satisfies.
The new sequence.
Handles current items as numbers and calculates the tangent for each item.
The new sequence.
Handles current items as numbers and calculates the hyperbolic tangent for each item.
The new sequence.
Performs a subsequent ordering of the elements in that sequence in ascending order, using the values itself as keys.
The new sequence.
Performs a subsequent ordering of the elements in that sequence in ascending order, according to a key.
The new sequence.
Performs a subsequent ordering of the elements in that sequence in descending order, according to a key.
The new sequence.
Performs a subsequent ordering of the elements in that sequence in descending order, using the values as keys.
The new sequence.
Creates a new array from the items of that sequence.
The sequence as array.
Converts that sequence to a lookup object.
The key selector.
U The lookup object
Wraps the items of that sequence to an object.
TResult The new object.
Traces the elements of that sequence.
The new, piped sequence.
Produces the union of that sequence and another.
The other sequence.
The new sequence.
Filters the items of that sequence.
The predicate to use.
The filtered sequence.
Applies a specified function to the corresponding elements of that sequence and another, producing a sequence of the results.
The other sequence.
The selector for the result item.
The "zipped" sequence.
Generated using TypeDoc
Describes an ordered sequence.