hasClassDeclarationOf

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

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

Return

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

Parameters

kClass

The Kotlin class representing the class declaration to check for.