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