withoutClassOrInterface

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

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

Return

A list containing declarations without class or interface 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 a class or interface declaration.