AbstractProtectedconstructorCreate a new iterable base.
Protected Optional_toThe converter used to transform a raw element (R) into a public element (E).
Protected Abstract_getReturns an iterator over the structure's elements.
Rest...args: unknown[]Optional iterator arguments forwarded to the internal iterator.
An IterableIterator<E> that yields the elements in traversal order.
AbstractclearAbstractcloneAbstractfilterFinds the first element that satisfies the predicate and returns it.
Finds the first element of type S (a subtype of E) that satisfies the predicate and returns it.
The matched element typed as S, or undefined if not found.
Checks whether a strictly-equal element exists in the structure.
The element to test with === equality.
true if an equal element is found; otherwise false.
AbstractisAbstractmapMaps each element to a new element and returns a new iterable structure.
A new IterableElementBase<EM, RM> containing mapped elements.
Abstractmap
Base class that makes a data structure iterable and provides common element-wise utilities (e.g., map/filter/reduce/find).
Remarks
This class implements the JavaScript iteration protocol (via
Symbol.iterator) and offers array-like helpers with predictable time/space complexity.