withAllFunctions

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

List containing declarations that have all functions satisfying the provided predicate.

Return

A filtered list containing declarations with all functions satisfying the 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 all function declarations.