ReadonlyCollection<T> Interface

    Package: @esfx/collection-core

    A ReadonlyCollection<T> describes a collection object, such as an Array or Set, that can contain other values and has a known size.

    Declaration
    export interface ReadonlyCollection<T> extends Iterable<T>, ReadonlyContainer<T> 
    Inheritance
    Iterable<T>
    ReadonlyContainer<T>
    ReadonlyCollection<T>
    Inherited Members
    [ReadonlyContainer.has](value)

    Properties

    [ReadonlyCollection.size]

    Gets the number of elements in the collection.

    Declaration
    readonly [ReadonlyCollection.size]: number;
    Property Value
    number

    • Improve this Doc
    Generated by DocFX