containsKey

open override fun containsKey(key: K): Boolean(source)

Checks whether an association exists for key, even if its value is null.

Uses key hashing and generic equality. The key's equality and hash code must remain stable while stored.

Return

true if an equal key is present.

Parameters

key

key to search for.

See also