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