with Import Alias
fun <T : KoImportAliasProvider> List<T>.withImportAlias(predicate: (KoImportAliasDeclaration) -> Boolean): List<T>
List containing declarations that have at least one import alias satisfying the provided predicate.
Return
A list containing declarations with at least one import alias satisfying the predicate.
Parameters
predicate
A function that defines the condition to be met by an import alias declaration.