contains

actual open operator override fun contains(key: String): Boolean(source)
expect open operator override fun contains(key: String): Boolean(source)

Tests whether key exists or not.

Return

True if exists, otherwise false.

Parameters

key

The select result key.

actual open operator override fun contains(key: String): Boolean(source)

Tests whether a property exists or not. This can be less expensive than getValue(String), because it does not have to allocate an Object for the property value.

Return

the boolean value representing whether a property exists or not.

Parameters

key

the key

actual open operator override fun contains(key: String): Boolean(source)