withInterfacesAndObjects

List containing declarations with any interface or object.

Return

A list containing declarations with any interface or object.

Parameters

includeNested

Whether to include nested interfaces and objects.


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

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

Return

A list containing declarations with 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.