Skip to content

ReadOnlyObservableSet.delete

github-actions[bot] edited this page Dec 3, 2024 · 3 revisions

Ensures the provided item is not in the set.

protected delete(
  item: TItem
): boolean

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

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