with All Imports
fun <T : KoImportProvider> List<T>.withAllImports(predicate: (KoImportDeclaration) -> Boolean): List<T>
List containing declarations that have all imports satisfying the provided predicate.
Return
A filtered list containing declarations with all imports satisfying the predicate.
Parameters
predicate
A function that defines the condition to be met by all import declarations.