containsKey

abstract fun containsKey(key: K): Boolean(source)

Checks whether an association exists for key, including one whose value is null.

Return

true if the map contains the key.

Parameters

key

key to search for.

See also