Darkhogg/polyethylene

View on GitHub
docs/polyethylene.polysynciterable.toarray.md

Summary

Maintainability
Test Coverage
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [polyethylene](./polyethylene.md) &gt; [PolySyncIterable](./polyethylene.polysynciterable.md) &gt; [toArray](./polyethylene.polysynciterable.toarray.md)

## PolySyncIterable.toArray() method

Return an array of all elements of this iteration in the same order that were yielded.

<b>Signature:</b>

```typescript
toArray(): Array<T>;
```
<b>Returns:</b>

Array&lt;T&gt;

An array that contains the same elements as this iteration, in the same order