KotlinMapcontainsKey

Returns true if the map contains the specified key.

Syntax

map.containsKey(key)