has Class Or Object Declaration Of
Deprecated
Will be removed in version 0.19.0
Replace with
sourceDeclaration?.hasClassOrObjectDeclarationOf()
Content copied to clipboard
Whether declaration has a class or an object declaration of the specified Kotlin class.
Return
true
if the declaration has a class or an object declaration matching the specified KClass, false
otherwise.
Parameters
k Class
The Kotlin class representing the class or object declaration to check for.