getProperty

abstract fun <T : Comparable<T>> getProperty(property: Property<T>): T?

Gets the value for the given property, or returns null if there is no value for the given property.

Return

the value, or null if not present

Parameters

T

the property type

property

the property