contains

expect operator 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 operator fun contains(key: String): Boolean(source)
actual operator fun contains(key: String): Boolean(source)