has Interface Declaration
abstract override fun hasInterfaceDeclaration(predicate: (KoInterfaceDeclaration) -> Boolean?): Boolean
Deprecated
Will be removed in version 0.19.0
Replace with
sourceDeclaration?.hasInterfaceDeclaration()
Content copied to clipboard
Whether declaration has a specified interface declaration.
Return
true
if the declaration has the specified interface declaration (or any interface declaration if predicate is null
), false
otherwise.
Parameters
predicate
The predicate function used to determine if an interface declaration satisfies a condition.