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