ISetLike - Andrei15193/react-model-view-viewmodel GitHub Wiki

API / ISetLike<TItem> interface

Represents a read-only set-like object based on the Set-like interface.

interface ISetLike<TItem>

Source reference: src/collections/observableSet/ISetLike.ts:5.

Generic Parameters

  • TItem - The type of items the set contains.

Properties

  • readonly size - Gets the number of items in the collection.

Methods

  • has - Checks whether the provided item is in the collection.
  • keys - Gets an iterator that provides each element in the collection.

Implementations

⚠️ **GitHub.com Fallback** ⚠️