Class ForOfAdaptor<T, InputIterator>
Constructors
constructor
- new ForOfAdaptor(first: InputIterator, last: InputIterator): ForOfAdaptor
-
Parameters
-
first: InputIterator
-
last: InputIterator
Methods
[Symbol.iterator]
- [Symbol.iterator](): IterableIterator<T>
-
Returns IterableIterator<T>
next
- next(): IteratorResult<T>
-
Returns IteratorResult<T>
Adaptor for
for ... of
iteration.Jeongho Nam - https://github.com/samchon