Skip to content

ObservableMap.constructor

github-actions[bot] edited this page Feb 4, 2025 · 4 revisions

Initializes a new instance of the ObservableMap<TKey, TItem> class.

public constructor(
  entries?: Iterable<readonly [TKey, TItem]>
)

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

Parameters

  • entries: Iterable<readonly [TKey, TItem]>
    The key-value pairs to initialize the map with.
Clone this wiki locally