without Local Functions
List containing declarations with no local functions.
Return
A list containing declarations with no local functions.
fun <T : KoLocalFunctionProvider> List<T>.withoutLocalFunctions(predicate: (List<KoFunctionDeclaration>) -> Boolean): List<T>
List containing declarations without local function declarations satisfying the predicate.
Return
A list containing declarations without local function declarations satisfying the predicate.
Parameters
predicate
A function that defines the condition to be met by the list of local function declarations.