A static extension which provides utility functions for Iterators.

For example, add using IteratorTools then call iterator.array().

See also:

Static methods

staticarray<T>(iterator:Iterator<T>):Array<T>

staticcount<T>(iterator:Iterator<T>, ?predicate:(item:T) ‑> Bool):Int