withoutInterfaces

fun <T : KoInterfaceProvider> List<T>.withoutInterfaces(includeNested: Boolean = true): List<T>

List containing declarations with no interfaces.

Return

A list containing declarations with no interfaces.

Parameters

includeNested

Whether to include nested interfaces.


fun <T : KoInterfaceProvider> List<T>.withoutInterfaces(includeNested: Boolean = true, predicate: (List<KoInterfaceDeclaration>) -> Boolean): List<T>

List containing declarations without interface declarations satisfying the predicate.

Return

A list containing declarations without interface declarations satisfying the predicate.

Parameters

includeNested

Whether to include nested interfaces.

predicate

A function that defines the condition to be met by the list of interface declarations.