has External Declaration
abstract override fun hasExternalDeclaration(predicate: (KoExternalDeclaration) -> Boolean?): Boolean
Deprecated
Will be removed in version 0.19.0
Replace with
sourceDeclaration?.hasExternalDeclaration()
Content copied to clipboard
Whether declaration has a specified external type declaration. 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 the specified external type declaration (or any external type declaration if predicate is null
), false
otherwise.
Parameters
predicate
The predicate external used to determine if a external type declaration satisfies a condition.