containsKey

open suspend override fun containsKey(key: String): Boolean

Checks if this map contains a mapping for the specified key. This operation is thread-safe.

Return

true if this map contains a mapping for the specified key, false otherwise.

Parameters

key

The key whose presence in this map is to be tested.