withoutFunction

fun <T : KoFunctionProvider> List<T>.withoutFunction(includeNested: Boolean = true, includeLocal: Boolean = true, predicate: (KoFunctionDeclaration) -> Boolean): List<T>

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

Return

A list containing declarations without function satisfying the provided predicate.

Parameters

includeNested

Whether to include nested functions.

includeLocal

Whether to include local functions.

predicate

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