containsKey

open fun containsKey(@NonNull key: String): Boolean

Returns whether this map contains the specified key.

Return

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

Parameters

key

the key to search for.