ReadOnlyObservableMap.get - Andrei15193/react-model-view-viewmodel GitHub Wiki

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:100.

Parameters

  • key: TKey
    The key to check.

Returns: undefined | TItem

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

See also

⚠️ **GitHub.com Fallback** ⚠️