without Class Or Object
fun <T : KoClassAndObjectProvider> List<T>.withoutClassOrObject(includeNested: Boolean = true, includeLocal: Boolean = true, predicate: (KoClassAndObjectDeclaration) -> Boolean): List<T>
List containing declarations that not have class or object satisfying the provided predicate.
Return
A list containing declarations without class or object satisfying the provided predicate.
Parameters
include Nested
Whether to include nested classes and objects.
include Local
Whether to include local classes.
predicate
A function that defines the condition to be met by a class or object declaration.