Skip to content

IObservableMap.delete

github-actions[bot] edited this page Dec 3, 2024 · 3 revisions
API / IObservableMap<TKey, TItem> / delete method

Removes the entry having the given given key from the map.

delete(
  key: TKey
): boolean

Source reference: src/collections/observableMap/IObservableMap.ts:24.

Parameters

  • 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.

See also

Clone this wiki locally