getExtensionDelegate

Returns the instance of a delegated extension property, or null if this property is not delegated. Throws an exception if this is not an extension property.

Since Kotlin

1.1

See also


fun <D> KProperty2<D, *, *>.getExtensionDelegate(receiver: D): Any?(source)

Returns the instance of a delegated member extension property, or null if this property is not delegated. Throws an exception if this is not an extension property.

Since Kotlin

1.1

Parameters

receiver

the instance of the class used to retrieve the value of the property delegate.

See also