without Object
fun <T : KoObjectProvider> List<T>.withoutObject(includeNested: Boolean = true, predicate: (KoObjectDeclaration) -> Boolean): List<T>
List containing declarations that not have object satisfying the provided predicate.
Return
A list containing declarations without object satisfying the provided predicate.
Parameters
include Nested
Whether to include nested objects.
predicate
A function that defines the condition to be met by an object declaration.