Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

ContainsKey

abstract virtual func ContainsKey(key: K) -> bool

Declaring type: Map<K, V>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: Map.rvn

Defined by Map<K, V>.ContainsKey · Required implementation (no default).

Interface implementation: Required implementation (no default).

Tests whether the map contains an entry for the supplied key.

Parameters

Name Type Description
key K The key to look up or update.

Return value

Boolean