has Type Alias Declaration
abstract fun hasTypeAliasDeclaration(predicate: (KoTypeAliasDeclaration) -> Boolean? = null): Boolean
Whether declaration has a specified type alias declaration.
Return
true
if the declaration has the specified type alias declaration (or any type alias declaration if predicate is null
), false
otherwise.
Parameters
predicate
The predicate function used to determine if a type alias declaration satisfies a condition.