countLocalClasses

abstract fun countLocalClasses(predicate: (KoClassDeclaration) -> Boolean): Int

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

Return

The number of local classes in the declaration.

Parameters

predicate

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