withoutProperties

fun <T : KoPropertyProvider> List<T>.withoutProperties(includeNested: Boolean = true): List<T>

List containing declarations with no properties.

Return

A list containing declarations with no properties.

Parameters

includeNested

Whether to include nested properties.


fun <T : KoPropertyProvider> List<T>.withoutProperties(includeNested: Boolean = true, predicate: (List<KoPropertyDeclaration>) -> Boolean): List<T>

List containing declarations without property declarations satisfying the predicate.

Return

A list containing declarations without property declarations satisfying the predicate.

Parameters

includeNested

Whether to include nested properties.

predicate

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