without All Children
fun <T : KoChildProvider> List<T>.withoutAllChildren(indirectChildren: Boolean = false, predicate: (KoChildDeclaration) -> Boolean): List<T>
List containing declarations that have at least one child not satisfying the provided predicate.
Return
A list containing declarations that have at least one child not satisfying the provided predicate.
Parameters
indirect Children
Whether to include indirect children.
predicate
A function that defines the condition to be met by all child declarations.