countLocalFunctions

abstract fun countLocalFunctions(predicate: (KoFunctionDeclaration) -> Boolean): Int

Returns the number of local functions that satisfies the specified predicate present in the declaration.

Return

The number of local functions in the declaration.

Parameters

predicate

The predicate function to determine if a local function satisfies a condition.