Creates a LazyIterable from an iterable object.
An iterable object from which to create a LazyIterable.
Creates a LazyIterable from a function.
An iterable object from which to create a LazyIterable.
Returns the number of items iterated by this instance. Accessing this property causes this instance to be iterated.
Returns an iterator for this instance.
Returns a new LazyIterable with the specified iterable objects concatenated to it.
An array of iterable object to be concatenated to this instance.
Returns a new LazyIterable with the specified items or items of the specified iterable objects concatenated to this instance.
An array of items or iterable objects whose items are to be to concatenated to this instance.
Returns a new LazyIterable that iterates the index/value pairs of the items of this instance.
Determines whether every item in this instance fulfills a predicate. Calling this method causes this instance to be iterated.
A predicate function to test each item against.
The value to use as this
when executing callback
.
Returns a new LazyIterable that will iterate only the items that fulfill the specified predicate.
A predicate function to test each item against.
The value to use as this
when executing callback
.
Returns the first item that fulfills the specified predicate. Calling this method causes this instance to be iterated.
A predicate function to test each item against.
The value to use as this
when executing callback
.
Returns the index of the first item that fulfills the specified predicate. Calling this method causes this instance to be iterated.
A predicate function to test each item against.
The value to use as this
when executing callback
.
Executes a function for each item in this instance. Calling this method causes this instance to be iterated.
The function to execute for each item.
The value to use as this
when executing callback
.
Determines whether this instance includes a specified item. Calling this method causes this instance to be iterated.
The value to search for.
The index from which to start searching.
Returns the first index of the specified item in this instance. Calling this method causes this instance to be iterated.
The value to search for.
The index from which to start searching.
Returns the item at the specified index in this instance.
The index of the item.
Returns a string of all of the items in this instance. Calling this method causes this instance to be iterated.
A string used to separate the items in the resulting string.
Returns a new LazyIterable that iterates the index of each item in this instance.
Returns the last index of the specified item in this instance by searching backward. Calling this method causes this instance to be iterated.
The value to search for.
The index from which to start searching backward.
Returns a new LazyIterable that iterates items of this instance transformed by a function. Calling this method causes this instance to be iterated.
The function that transforms each item.
The value to use as this
when executing callback
.
Returns the result of a reducing function called for each item in this instance. Calling this method causes this instance to be iterated.
The reducing function to to call on each item.
Returns the result of a reducing function called for each item in this instance. Calling this method causes this instance to be iterated.
The reducing function to to call on each item.
Returns the result of a reducing function called for each item in this instance. Calling this method causes this instance to be iterated.
The reducing function to to call on each item.
The initial value used in the reducing function.
Returns the result of a reducing function called for each item in this instance in reverse order. Calling this method causes this instance to be iterated.
The reducing function to to call on each item.
Returns the result of a reducing function called for each item in this instance in reverse order. Calling this method causes this instance to be iterated.
The reducing function to to call on each item.
Returns the result of a reducing function called for each item in this instance in reverse order. Calling this method causes this instance to be iterated.
The reducing function to to call on each item.
The initial value used in the reducing function.
Returns new LazyIterable that iterates the items in this instance in reverse order.
Returns a new LazyIterable that iterates a portions of the items in this instance.
The index of the first item to include.
The index of the first item to exclude.
Determines whether any item in this instance fulfills a predicate. Calling this method causes this instance to be iterated.
A predicate function to test each item against.
The value to use as this
when executing callback
.
Returns a new LazyIterable that iterates the items in this instances in sorted order.
A function that determines the order of the items.
Returns an array of the items in this instance. Calling this method causes this instance to be iterated.
Returns new LazyIterable that iterates the items in this instance.
Creates a LazyIterable from an iterable object.
An iterable object from which to create a LazyIterable.
Generated using TypeDoc
Represents an iterable object that can be chained and is only evaluated once it is iterated.