hasInterfaceDeclarationOf

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

Whether declaration has an interface declaration of the specified Kotlin class.

Return

true if the declaration has an interface declaration matching the specified KClass, false otherwise.

Parameters

kClass

The Kotlin class representing the interface declaration to check for.