has Kotlin Collection Type Declaration
abstract override fun hasKotlinCollectionTypeDeclaration(predicate: (KoKotlinTypeDeclaration) -> Boolean?): Boolean
Deprecated
Will be removed in version 0.19.0
Replace with
sourceDeclaration?.hasKotlinCollectionTypeDeclaration()
Content copied to clipboard
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.