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