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