resideInPackage

abstract fun resideInPackage(name: String): Boolean

Determines whatever the declaration resides in a package.

Return

true if the declaration resides in the specified package, false otherwise.

Parameters

name

the package name to check.