• Creates a new Collection.Indexed.

    Note: Collection.Indexed is a conversion function and not a class, and does not use the new keyword during construction.

    Type Parameters

    • T

    Parameters

    • Optionalcollection: Iterable<T, any, any> | ArrayLike<T>

    Returns Collection.Indexed<T>