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