---
title: toArray
---
#### [{{ page.title }}](#{{ page.title | slugify }})

##### `wu(iterable).toArray()`

Converts an iterable to an Array.

{% highlight js %}
wu.count().take(5).toArray();
// [0, 1, 2, 3, 4]
{% endhighlight %}

Add docs for toArray function
Add docs for toArray function
