with Kotlin Collection Type Declaration
fun <T : KoDeclarationCastProvider> List<T>.withKotlinCollectionTypeDeclaration(predicate: (KoKotlinTypeDeclaration) -> Boolean? = null): List<T>
List containing declarations with the specified kotlin collection type declaration.
Return
A list containing declarations with the specified kotlin collection type declaration.
Parameters
predicate
The predicate function to determine if a kotlin collection type declaration satisfies a condition.