without Functions
fun <T : KoFunctionProvider> List<T>.withoutFunctions(includeNested: Boolean = true, includeLocal: Boolean = true): List<T>
List containing declarations with no functions.
Return
A list containing declarations with no functions.
Parameters
include Nested
Whether to include nested functions.
include Local
Whether to include local functions.
fun <T : KoFunctionProvider> List<T>.withoutFunctions(includeNested: Boolean = true, includeLocal: Boolean = true, predicate: (List<KoFunctionDeclaration>) -> Boolean): List<T>
List containing declarations without function declarations satisfying the predicate.
Return
A list containing declarations without function declarations satisfying the predicate.
Parameters
include Nested
Whether to include nested functions.
include Local
Whether to include local functions.
predicate
A function that defines the condition to be met by the list of function declarations.