withoutAllDeclarations

fun <T : KoDeclarationProvider> List<T>.withoutAllDeclarations(includeNested: Boolean = true, includeLocal: Boolean = true, predicate: (KoBaseDeclaration) -> Boolean): List<T>

List containing declarations that have at least one declaration not satisfying the provided predicate.

Return

A list containing declarations that have at least one declaration not satisfying the provided predicate.

Parameters

includeNested

Whether to include nested declarations.

includeLocal

Whether to include local declarations.

predicate

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