has External Type Declaration
abstract fun hasExternalTypeDeclaration(predicate: (KoExternalDeclaration) -> Boolean? = null): Boolean
Deprecated
Will be removed in version 0.19.0
Replace with
hasExternalDeclarationContent copied to clipboard
Whether type 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 type 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.