hasKotlinBasicTypeDeclaration

abstract override fun hasKotlinBasicTypeDeclaration(predicate: (KoKotlinTypeDeclaration) -> Boolean?): Boolean

Deprecated

Will be removed in version 0.19.0

Replace with

sourceDeclaration?.hasKotlinBasicTypeDeclaration()

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.