CollectionEx module

class CollectionEx.CollectionEx

Bases: OwnerHolder, IEnumerable

Represents a collection with extended functionality.

property Count: int

Gets the number of items in the collection.

Returns:

The count of items in the collection.

GetEnumerator() IEnumerator

Returns an enumerator that iterates through a collection.

Returns:

An IEnumerator object that can be used to iterate through the collection.