without Class Or Interface Declaration
fun <T : KoDeclarationCastProvider> List<T>.withoutClassOrInterfaceDeclaration(predicate: (KoClassAndInterfaceDeclaration) -> Boolean? = null): List<T>
List containing declarations without the specified class or interface declaration.
Return
A list containing declarations without the specified class or interface declaration.
Parameters
predicate
The predicate function to determine if a class or interface declaration satisfies a condition.