Skip to content

ReadOnlyObservableSet.has

github-actions[bot] edited this page Nov 17, 2024 · 2 revisions

Checks whether the provided item is in the collection.

public has(
  item: TItem
): boolean

Source reference: src/collections/observableSet/ReadOnlyObservableSet.ts:87.

Parameters

  • item: TItem
    The item to search for.

Returns: boolean

Returns true if the provided item is found in the collection; otherwise false.

See also

Clone this wiki locally