withoutInterfacesAndObjects

List containing declarations with no interfaces and objects.

Return

A list containing declarations with no interfaces and objects.

Parameters

includeNested

Whether to include nested interfaces and objects.


fun <T : KoInterfaceAndObjectProvider> List<T>.withoutInterfacesAndObjects(    includeNested: Boolean = true,     predicate: (List<KoInterfaceAndObjectDeclaration>) -> Boolean): List<T>

List containing declarations without interfaces and objects declarations satisfying the predicate.

Return

A list containing declarations without interfaces and objects declarations satisfying the predicate.

Parameters

includeNested

Whether to include nested interfaces and objects.

predicate

A function that defines the condition to be met by the list of interfaces and objects declarations.