Skip to content

ReadOnlyObservableMap.constructor

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

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

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

Source reference: src/collections/observableMap/ReadOnlyObservableMap.ts:21.

Parameters

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