withoutClass

fun <T : KoClassProvider> List<T>.withoutClass(includeNested: Boolean = true, includeLocal: Boolean = true, predicate: (KoClassDeclaration) -> Boolean): List<T>

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

Return

A list containing declarations without class satisfying the provided predicate.

Parameters

includeNested

Whether to include nested classes.

includeLocal

Whether to include local classes.

predicate

A function that defines the condition to be met by a class declaration.