hasKotlinTypeDeclaration

abstract fun hasKotlinTypeDeclaration(predicate: (KoKotlinTypeDeclaration) -> Boolean? = null): Boolean

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.