ReadOnlyObservableMap.has - Andrei15193/react-model-view-viewmodel GitHub Wiki
API / ReadOnlyObservableMap<TKey, TItem> / has method
Checks whether there is a value associated with the provided key.
public has(
key: TKey
): boolean
Source reference: src/collections/observableMap/ReadOnlyObservableMap.ts:90
.
-
key: TKey
The key to check.
Returns: boolean
Returns true
if the provided key is found in the map; otherwise false
.