ReadOnlyObservableMap.delete - Andrei15193/react-model-view-viewmodel GitHub Wiki
API / ReadOnlyObservableMap<TKey, TItem> / delete method
Removes the entry having the given given key
from the map.
protected delete(
key: TKey
): boolean
Source reference: src/collections/observableMap/ReadOnlyObservableMap.ts:163
.
-
key: TKey
The key identifying the entry to remove.
Returns: boolean
Returns true
if an entry was found and removed from the map; otherwise false
.