withAllInterfaces

fun <T : KoInterfaceProvider> List<T>.withAllInterfaces(includeNested: Boolean = true, predicate: (KoInterfaceDeclaration) -> Boolean): List<T>

List containing declarations that have all interfaces satisfying the provided predicate.

Return

A filtered list containing declarations with all interfaces satisfying the predicate.

Parameters

includeNested

Whether to include nested interfaces.

predicate

A function that defines the condition to be met by all interface declarations.