has External Declaration Of
Deprecated
Will be removed in version 0.19.0
Replace with
sourceDeclaration?.hasExternalDeclarationOf()
Content copied to clipboard
Whether declaration has a external type declaration of the specified Kotlin class. An external type refers to a type that is defined outside the project's codebase. for e.g. in external library.
Return
true
if the declaration has a external type declaration (type defined outside the project codebase for e.g. in external library) matching the specified KClass, false
otherwise.
Parameters
k Class
The Kotlin class representing the external type declaration to check for.