hasPropertyDeclarationOf

abstract fun hasPropertyDeclarationOf(kClass: KClass<*>): Boolean

Whether declaration has a property declaration of the specified Kotlin property.

Return

true if the declaration has a property declaration matching the specified KClass, false otherwise.

Parameters

kClass

The Kotlin class representing the property declaration to check for.