Skip to content

ReadOnlyObservableMap.has

github-actions[bot] edited this page Dec 3, 2024 · 3 revisions

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

public has(
  key: TKey
): boolean

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

Parameters

  • key: TKey
    The key to check.

Returns: boolean

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

See also

Clone this wiki locally