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