Skip to content

ReadOnlyObservableMap.get

github-actions[bot] edited this page Nov 17, 2024 · 2 revisions

Looks up provided key and returns the associated item if one exists; otherwise undefined.

public get(
  key: TKey
): undefined | TItem

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

Parameters

  • key: TKey
    The key to check.

Returns: undefined | TItem

Returns the associated value if one can be found; otherwise undefined.

See also

Clone this wiki locally