interface CollectionOps {
    size: number;
    clear(): void;
    isEmpty(): boolean;
}

Hierarchy (view full)

Properties

Methods

Properties

size: number

Gets the number of elements in the collection.

Methods

  • Returns true if the collection is empty.

    Returns boolean

    True if the collection is empty, otherwise false.