has Kotlin Basic Type Declaration
abstract fun hasKotlinBasicTypeDeclaration(predicate: (KoKotlinTypeDeclaration) -> Boolean? = null): Boolean
Whether declaration has a specified kotlin basic type declaration.
Return
true
if the declaration has the specified kotlin basic type declaration (or any kotlin basic type declaration if predicate is null
), false
otherwise.
Parameters
predicate
The predicate function used to determine if a kotlin basic type declaration satisfies a condition.