with Property
fun <T : KoPropertyProvider> List<T>.withProperty(includeNested: Boolean = true, predicate: (KoPropertyDeclaration) -> Boolean): List<T>
List containing declarations that have at least one property satisfying the provided predicate.
Return
A list containing declarations with at least one property satisfying the predicate.
Parameters
include Nested
Whether to include nested properties.
predicate
A function that defines the condition to be met by a property declaration.