Skip to content

IReadOnlyObservableMap.get

github-actions[bot] edited this page Dec 3, 2024 · 3 revisions

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

get(
  key: TKey
): undefined | TItem

Source reference: src/collections/observableMap/IReadOnlyObservableMap.ts:58.

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