hasImportWithName

abstract fun hasImportWithName(name: String, vararg names: String): Boolean

Determines whether the declaration has at least one import whose name matches any of the specified names.

Return

true if there is a matching declaration, false otherwise.

Parameters

name

the name of the import to check.

names

the names of the imports to check.


Determines whether the declaration has at least one import whose name matches any of the specified names.

Return

true if there is a matching declaration, false otherwise.

Parameters

names

the names of the imports to check.