Skip to content

IReadOnlyObservableMap.has

github-actions[bot] edited this page Nov 17, 2024 · 2 revisions

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

has(
  key: TKey
): boolean

Source reference: src/collections/observableMap/IReadOnlyObservableMap.ts:50.

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