Readonly
dataUsed for processing.
Applies an accumulator function over a sequence.
An accumulator function to be invoked on each element.
The final accumulator value.
Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value.
The initial accumulator value.
An accumulator function to be invoked on each element.
The final accumulator value.
Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value, and the specified function is used to select the result value.
The initial accumulator value.
An accumulator function to be invoked on each element.
A function to transform the final accumulator value into the result value.
The transformed final accumulator value.
Determines whether all elements of a sequence satisfy a condition.
A function to test each element for a condition.
true
if every element of the source sequence passes the test in the specified predicate,
or if the sequence is empty; otherwise, false
.
Determines whether all elements of a sequence satisfy a condition.
An async function to test each element for a condition.
true
if every element of the source sequence passes the test in the specified predicate,
or if the sequence is empty; otherwise, false
.
Determines whether a sequence contains any elements. If predicate is specified, determines whether any element of a sequence satisfies a condition.
Optional
predicate: ((x) => boolean)A function to test each element for a condition.
true if the source sequence contains any elements or passes the test specified; otherwise, false.
Determines whether any element of a sequence satisfies a condition.
An async function to test each element for a condition.
true if the source sequence contains any elements or passes the test specified; otherwise, false.
Appends a value to the end of the sequence.
The value to append to the sequence.
An IParallelEnumerable
Converts the parallel iterable to an
An IAsyncEnumerable
Computes the average of a sequence of number values.
The average of the sequence of values.
source contains no elements.
Computes the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
A transform function to apply to each element.
The average of the sequence of values.
source contains no elements.
Computes the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
An async transform function to apply to each element.
The average of the sequence of values.
source contains no elements.
Splits the elements of a sequence into chunks of size at most size.
The maximum size of each chunk.
An IParallelEnumerable
Concatenates two async sequences.
The async sequence to concatenate to the first sequence.
An IParallelEnumerable
Determines whether a sequence contains a specified element by
using the specified or default IEqualityComparer
The value to locate in the sequence.
Optional
comparer: IEqualityComparer<TSource>An equality comparer to compare values. Optional.
true if the source sequence contains an element that has the specified value; otherwise, false.
Determines whether a sequence contains a specified element
by using the specified or default IEqualityComparer
The value to locate in the sequence.
An async equality comparer to compare values.
true if the source sequence contains an element that has the specified value; otherwise, false.
Returns the number of elements in a sequence or represents how many elements in the specified sequence satisfy a condition if the predicate is specified.
Optional
predicate: ((x) => boolean)A function to test each element for a condition. Optional.
The number of elements in the input sequence.
Returns the number of elements in a sequence or represents how many elements in the specified sequence satisfy a condition if the predicate is specified.
A function to test each element for a condition.
The number of elements in the input sequence.
Returns the elements of an IParallelEnumerable
The value, or Promise that gives back that value, to return if the sequence is empty.
An IParallelEnumerable
Returns distinct elements from a sequence by using the default or specified equality comparer to compare values.
Optional
comparer: IEqualityComparer<TSource>An IEqualityComparer
An IParallelEnumerable
Returns distinct elements from a sequence by using the specified equality comparer to compare values.
An IAsyncEqualityComparer
An IParallelEnumerable
Performs a specified action on each element of the IParallelEnumerable
The action to take an each element
A new IParallelEnumerable
Performs a specified action on each element of the IParallelEnumerable
The async action to take an each element
A new IParallelEnumerable
Returns the element at a specified index in a sequence.
The zero-based index of the element to retrieve.
The element at the specified position in the source sequence.
index is less than 0 or greater than or equal to the number of elements in source.
Returns the element at a specified index in a sequence or a default value if the index is out of range.
The zero-based index of the element to retrieve.
null if the index is outside the bounds of the source sequence; otherwise, the element at the specified position in the source sequence.
Produces the set difference of two sequences by using the comparer provided or EqualityComparer to compare values.
An IAsyncParallel
Optional
comparer: IEqualityComparer<TSource>An IEqualityComparer
A sequence that contains the set difference of the elements of two sequences.
Produces the set difference of two sequences by using the comparer provided to compare values.
An IAsyncParallel
An IAsyncEqualityComparer
A sequence that contains the set difference of the elements of two sequences.
Returns the first element in a sequence that satisfies a specified condition.
A function to test each element for a condition.
The first element in the sequence that passes the test in the specified predicate function.
No elements in Iteration matching predicate
Returns first element in sequence that satisfies predicate otherwise returns the first element in the sequence. Returns null if no value found.
Optional
predicate: ((x) => boolean)A function to test each element for a condition. Optional.
The first element in the sequence or the first element that passes the test in the specified predicate function. Returns null if no value found.
Returns the first element of the sequence that satisfies a condition or a default value if no such element is found.
An async function to test each element for a condition.
null if source is empty or if no element passes the test specified by predicate; otherwise, the first element in source that passes the test specified by predicate.
Groups the elements of a sequence according to a specified key selector function.
A function to extract the key for each element.
An IParallelEnumerable<IGrouping<TKey, TSource>> where each IGrouping<TKey,TElement> object contains a sequence of objects and a key.
Groups the elements of a sequence according to a key selector function. The keys are compared by using a comparer and each group's elements are projected by using a specified function.
A function to extract the key for each element.
An IEqualityComparer
An IParallelEnumerable<IGrouping<TKey, TSource>> where each IGrouping<TKey,TElement> object contains a sequence of objects and a key.
Groups the elements of a sequence according to a specified key selector function.
An async function to extract the key for each element.
An IParallelEnumerable<IGrouping<TKey, TSource>> where each IGrouping<TKey,TElement> object contains a sequence of objects and a key.
Groups the elements of a sequence according to a specified key selector function.
An async function to extract the key for each element.
An IEqualityComparer
An IParallelEnumerable<IGrouping<TKey, TSource>> where each IGrouping<TKey,TElement> object contains a sequence of objects and a key.
Correlates the elements of two sequences based on equality of keys and groups the results.
The sequence to join to the first sequence.
The sequence to join to the first sequence.
A function to extract the join key from each element of the second sequence.
A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence.
Optional
comparer: IEqualityComparer<TKey>To compare keys. Optional.
An IParallelEnumerable
Correlates the elements of two sequences based on equality of keys and groups the results.
The sequence to join to the first sequence. Can be async.
The sequence to join to the first sequence. Can be async.
A function to extract the join key from each element of the second sequence.
A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. Can be async.
Optional
comparer: IEqualityComparer<TKey>To compare keys. Optional.
An IParallelEnumerable
Optional
comparer: IEqualityComparer<TSource>Optional
comparer: IEqualityComparer<TKey>Async Iteration of Numbers
Sequence contains no elements
Sequence contains no elements
Sequence contains no elements
Sequence contains no elements
Sorts the elements of a sequence in ascending order by using a specified or default comparer.
Optional
comparer: IComparer<TSource>An IComparer
An IOrderedParallelEnumerable
Optional
comparer: IComparer<TKey>Optional
comparer: IComparer<TKey>Optional
comparer: IComparer<TKey>Optional
comparer: IComparer<TKey>Sorts the elements of a sequence in descending order by using a specified or default comparer.
Optional
comparer: IComparer<TSource>An IComparer
An IParallelEnumerable
Partitions the values into a tuple of failing and passing arrays
Predicate to determine whether a value passes or fails
[values that pass, values that fail]
Partitions the values into a tuple of failing and passing arrays
Async predicate to determine whether a value passes or fails
[values that pass, values that fail]
Adds a value to the beginning of the sequence.
The value to prepend to the sequence.
An IParallelEnumerable
Inverts the order of the elements in a sequence.
A sequence whose elements correspond to those of the input sequence in reverse order.
Optional
comparer: IEqualityComparer<TSource>Optional
comparer: IAsyncEqualityComparer<TSource>Computes the sum of the sequence of numeric values.
A promise of the sum of the values in the sequence.
Computes the sum of the sequence of numeric values that are obtained by invoking a transform function on each element of the input sequence.
A transform function to apply to each element.
A promise of the sum of the projected values.
Computes the sum of the sequence of numeric values that are obtained by invoking a transform function on each element of the input sequence.
An async transform function to apply to each element.
A promise of the sum of the projected values.
Optional
comparer: IComparer<TKey>Optional
comparer: IComparer<TKey>Optional
comparer: IComparer<TKey>Optional
comparer: IComparer<TKey>Converts the async or parallel iteration to a Map<TKey, TSource[]>.
A function to serve as a key selector.
A promise for Map<TKey, TSource[]>
Converts the async or parallel iteration to a Map<TKey, TSource[]>.
An async function to serve as a key selector.
A promise for Map<TKey, TSource[]>
Converts the Iteration to an Object. Duplicate values will be overriden.
A function to determine the Key based on the value.
Promise of KVP Object
Converts the Iteration to an Object. Duplicate values will be overriden.
An async function to determine the Key based on the value.
Promise of KVP Object
Optional
comparer: IEqualityComparer<TSource>Optional
comparer: IAsyncEqualityComparer<TSource>Filters a sequence of values based on a predicate. Each element's index is used in the logic of the predicate function.
A function to test each source element for a condition; the second parameter of the function represents the index of the source element.
An IParallelEnumerable
Filters a sequence of values based on a predicate. Each element's index is used in the logic of the predicate function.
A async function to test each source element for a condition; the second parameter of the function represents the index of the source element.
An IParallelEnumerable
Generated using TypeDoc
Represents an async parallel enumeration that has been ordered.