withPropertyNamed

fun <T : KoPropertyProvider> List<T>.withPropertyNamed(name: String, vararg names: String, includeNested: Boolean = true): List<T>

List containing declarations that have at least one property with the specified name(s).

Return

A list containing declarations with at least one of the specified properties.

Parameters

name

The name of the property to include.

names

The names of additional properties to include.

includeNested

Whether to include nested properties.


fun <T : KoPropertyProvider> List<T>.withPropertyNamed(names: Collection<String>, includeNested: Boolean = true): List<T>

List containing declarations that have at least one property with the specified name(s).

Return

A list containing declarations with at least one of the specified properties.

Parameters

names

The names of additional properties to include.

includeNested

Whether to include nested properties.