Interface Iterable<T>

The Iterable interface defines the basic interface for iterable objects in RSX.

interface Iterable<T> {
    toArray(): T[];
}

Type Parameters

  • T

Hierarchy

  • Iterable<T>
    • Iterable

Methods

Methods

  • Converts the iterable data into an array.

    Returns T[]

    The backing store of the iterable can be an array, in those cases the implementation could return the internal array directly.