An indexed list of items.

Type Parameters

  • T

    Indexed item value.

Hierarchy

  • IndexedItemList

Properties

Methods

Properties

length: number

The length of the list. I.e. the number of items it contains.

Methods

  • Retrieves an item under the given index.

    Parameters

    • index: number

      Item index.

    Returns undefined | null | T

    Either item value, or null/undefined if there is no item with such index, i.e. if the index is not an integer value, is negative, or greater or equal to the length.

Generated using TypeDoc