Endo API documentation - v0.2.0 / Exports / @endo/common / make-array-iterator
Module: make-array-iterator
Table of contents
Functions
Functions
makeArrayIterator
▸ makeArrayIterator<T
>(arr
): IterableIterator
<T
>
A harden
ing analog of Array.prototype[Symbol.iterator].
Type parameters
Name | Type |
---|---|
T | unknown |
Parameters
Name | Type |
---|---|
arr | T [] |
Returns
IterableIterator
<T
>