with All Objects
fun <T : KoObjectProvider> List<T>.withAllObjects(includeNested: Boolean = true, predicate: (KoObjectDeclaration) -> Boolean): List<T>
List containing declarations that have all objects satisfying the provided predicate.
Return
A filtered list containing declarations with all objects satisfying the predicate.
Parameters
include Nested
Whether to include nested objects.
predicate
A function that defines the condition to be met by all object declarations.