IReadOnlyObservableMap.get - Andrei15193/react-model-view-viewmodel GitHub Wiki
API / IReadOnlyObservableMap<TKey, TItem> / get method
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
.
-
key: TKey
The key to check.
Returns: undefined
| TItem
Returns the associated value if one can be found; otherwise undefined
.