Skip to content

ISetLike

github-actions[bot] edited this page Dec 3, 2024 · 3 revisions
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

Clone this wiki locally