Skip to content

ObservableMap.delete

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

This method overrides ReadOnlyObservableMap.delete.

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

public delete(
  key: TKey
): boolean

Source reference: src/collections/observableMap/ObservableMap.ts:35.

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