without All Parent Classes
fun <T : KoParentClassProvider> List<T>.withoutAllParentClasses(indirectParents: Boolean = false, predicate: (KoParentDeclaration) -> Boolean): List<T>
List containing declarations that have at least one parent class not satisfying the provided predicate.
Return
A list containing declarations that have at least one parent class not satisfying the provided predicate.
Parameters
indirect Parents
Whether to include indirect parent classes.
predicate
A function that defines the condition to be met by all parent class declarations.