THEOplayer Web SDK
    Preparing search index...

    Interface List<T>

    List of generic items.

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

    Type Parameters

    • T

    Hierarchy (View Summary)

    Indexable

    • [index: number]: T

      The object representing the nth in the list.

    Index

    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