Skip to content

IReadOnlyObservableSet.has

github-actions[bot] edited this page Feb 4, 2025 · 4 revisions

Checks whether the provided item is in the set.

has(
  item: TItem
): boolean

Source reference: src/collections/observableSet/IReadOnlyObservableSet.ts:50.

Parameters

  • item: TItem
    The item to search for.

Returns: boolean

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

See also

Clone this wiki locally