containsKey

abstract fun containsKey(key: String): Boolean

检查此对象是否包含指定的键。

Return

如果对象包含该键,则返回 true

Parameters

key

要检查的键。