with All Parent Interfaces
fun <T : KoParentInterfaceProvider> List<T>.withAllParentInterfaces(indirectParents: Boolean = false, predicate: (KoParentDeclaration) -> Boolean): List<T>
List containing declarations that have all parent interfaces satisfying the provided predicate.
Return
A filtered list containing declarations with all parent interfaces satisfying the predicate.
Parameters
indirect Parents
Whether to include indirect parent interfaces.
predicate
A function that defines the condition to be met by all parent interface declarations.