ReadOnlyObservableSet.delete - Andrei15193/react-model-view-viewmodel GitHub Wiki
API / ReadOnlyObservableSet<TItem> / delete method
Ensures the provided item
is not in the set.
protected delete(
item: TItem
): boolean
Source reference: src/collections/observableSet/ReadOnlyObservableSet.ts:285
.
-
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
.