withoutDeclaration

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

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

Return

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