Skip to content

IObservableSet.delete

github-actions[bot] edited this page Nov 17, 2024 · 2 revisions
API / IObservableSet<TItem> / delete method

Ensures the provided item is not in the set.

delete(
  item: TItem
): boolean

Source reference: src/collections/observableSet/IObservableSet.ts:22.

Parameters

  • item: TItem
    The item to remove from the set.

Returns: boolean

Returns true if the provided item was found and removed from the set; otherwise false.

See also

Clone this wiki locally