Maps the iterable to an equivalent async iterable.
An async iterable of the same type.
Returns the nth element of the iterable.
The nth element of the iterable, or undefined
if the iterable is shorter than n + 1
elements.
The index of the element to return.
Creates an iterable by concatenating an arbitrary number of iterables with the current iterable.
An iterable containing the elements of the current iterable followed by the elements of the provided iterables.
Rest
...iterables: (ExtendedIterable<T> | Iterable<T>)[]The iterables to concatenate.
Fully consumes the iterable while passing each value to the provided callback. The values returned from calling the callback function are returned as an array.
An array containing the values returned from calling the callback function.
Optional
mapFn: MapFn<T, U>A callback function that receives the current value and index of the iterable.
Tests whether all values of the iterable satisfy the provided predicate.
true
if all values of the iterable satisfy the provided predicate, otherwise false
.
A predicate function that receives the current value and index of the iterable.
Optional
predicate: ArrayLikePredicate<T>Optional
initialValue: UOptional
endIndex: numberGenerated using TypeDoc
An iterable with additional methods.