Rest
...__namedParameters: [] | [unknown]Optional
returnOptional
value: anyOptional
throwOptional
e: anyCreates an iterator whose values are those from this iterator for which the provided predicate returns true.
Creates an iterator whose values are those from this iterator for which the provided predicate returns true.
Creates an iterator whose values are the result of applying the callback to the values from this iterator and then flattening the resulting iterators or iterables.
Calls the specified callback function for all the elements in this iterator. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Calls the specified callback function for all the elements in this iterator. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
A function that accepts up to three arguments. The reduce method calls the callbackfn function one time for each element in the iterator.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of a value from the iterator.
Determines whether the specified callback function returns true for any element of this iterator.
A function that accepts up to two arguments. The some method calls the predicate function for each element in this iterator until the predicate returns a value true, or until the end of the iterator.
Determines whether all the members of this iterator satisfy the specified test.
A function that accepts up to two arguments. The every method calls the predicate function for each element in this iterator until the predicate returns false, or until the end of this iterator.
Returns the value of the first element in this iterator where predicate is true, and undefined otherwise.
Creates an iterator whose values are the result of applying the callback to the values from this iterator.