hasPackage

abstract fun hasPackage(name: String): Boolean

Determines whatever the declaration has package.

Return

true if the declaration has a package with the specified name, false otherwise.

Parameters

name

the name of the package to check.