Interface List<T>

List of generic items.

interface List<T> {
    length: number;
    item(index): undefined | T;
    [index: number]: T;
}

Type Parameters

  • T

Hierarchy (view full)

Indexable

[index: number]: T

The object representing the nth in the list.

Properties

Methods

Properties

length: number

The number of items in the list.

Methods

  • Returns the object representing the nth item in the list.

    Parameters

    • index: number

      The index of the item to retrieve.

    Returns undefined | T

Generated using TypeDoc