with All Interfaces And Objects
fun <T : KoInterfaceAndObjectProvider> List<T>.withAllInterfacesAndObjects(includeNested: Boolean = true, predicate: (KoInterfaceAndObjectDeclaration) -> Boolean): List<T>
List containing declarations that have all interfaces and objects satisfying the provided predicate.
Return
A filtered list containing declarations with all interfaces and objects satisfying the predicate.
Parameters
include Nested
Whether to include nested interfaces and objects.
predicate
A function that defines the condition to be met by all interface and objects declarations.