without All External Parents
fun <T : KoExternalParentProvider> List<T>.withoutAllExternalParents(indirectParents: Boolean = false, predicate: (KoParentDeclaration) -> Boolean): List<T>
List containing declarations that have at least one external parent not satisfying the provided predicate. The external parent is a parent defined outside the project codebase (defined inside external library).
Return
A list containing declarations that have at least one external parent not satisfying the provided predicate.
Parameters
indirect Parents
Whether to include indirect external parents.
predicate
A function that defines the condition to be met by all external parent declarations.