without Interface Or Object
fun <T : KoInterfaceAndObjectProvider> List<T>.withoutInterfaceOrObject(includeNested: Boolean = true, predicate: (KoInterfaceAndObjectDeclaration) -> Boolean): List<T>
List containing declarations that not have interface or object satisfying the provided predicate.
Return
A list containing declarations without interface or object satisfying the provided predicate.
Parameters
include Nested
Whether to include nested interfaces and objects.
predicate
A function that defines the condition to be met by an interface or object declaration.