getProperty

@JvmName(name = "getPropertyCast")
inline fun <T> getProperty(key: String): T?

Gets the value of the property with the given key.

Return

The value of the property cast to T?, or null if the key had no value.

Parameters

key

The string key for the property