Skip to main content
Module

x/arrays/mod.ts>Iterables

Provides utility methods for common Array operations
Latest
namespace Iterables
import { Iterables } from "https://deno.land/x/arrays@v1.0.21/mod.ts";

Utility methods for Iterables.

Functions

Returns the size of an Iterable. In order to reuse the Iterable that was passed, make sure to convert it to a MultipleIterable first.

Iterating over an iterator is said to consume the iterator, because it is generally only possible to do once. This method returns an Iterable that can be iterated multiple times (e.g. in multiple for...of loops)