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