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

Checks whether there is a value associated with the provided key.

public has(
  key: TKey
): boolean

Source reference: src/collections/observableMap/ReadOnlyObservableMap.ts:90.

Parameters

  • key: TKey
    The key to check.

Returns: boolean

Returns true if the provided key is found in the map; otherwise false.

See also

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