with Interface Declaration
fun <T : KoDeclarationCastProvider> List<T>.withInterfaceDeclaration(predicate: (KoInterfaceDeclaration) -> Boolean? = null): List<T>
List containing declarations with the specified interface declaration.
Return
A list containing declarations with the specified interface declaration.
Parameters
predicate
The predicate function to determine if a interface declaration satisfies a condition.