withoutAllClassesAndInterfaces

fun <T : KoClassAndInterfaceProvider> List<T>.withoutAllClassesAndInterfaces(includeNested: Boolean = true, includeLocal: Boolean = true, predicate: (KoClassAndInterfaceDeclaration) -> Boolean): List<T>

List containing declarations that have at least one class or interface not satisfying the provided predicate.

Return

A list containing declarations that have at least one class or interface not satisfying the provided predicate.

Parameters

includeNested

Whether to include nested classes and interfaces.

includeLocal

Whether to include local classes.

predicate

A function that defines the condition to be met by all class or interfaces declarations.