has Import Alias Declaration
abstract fun hasImportAliasDeclaration(predicate: (KoImportAliasDeclaration) -> Boolean? = null): Boolean
Whether declaration has a specified import alias declaration.
Return
true
if the declaration has the specified import alias declaration (or any import alias declaration if predicate is null
), false
otherwise.
Parameters
predicate
The predicate function used to determine if an import alias declaration satisfies a condition.