kotlin Collection Type Declarations
fun <T : KoDeclarationCastProvider> List<T>.kotlinCollectionTypeDeclarations(predicate: (KoKotlinTypeDeclaration) -> Boolean? = null): List<KoKotlinTypeDeclaration>
List containing Kotlin collection type declarations associated with declarations.
Return
A list of Kotlin collection type declarations that match the provided predicate, or all Kotlin collection type declarations if no predicate is provided.
Parameters
predicate
A function that defines the condition to be met by the Kotlin collection type declaration. If null, all Kotlin collection type declarations are included.