Package.hasDependency

Determines if the package has a dependency to a certain package.

class Package
const
bool
hasDependency
(,
string config
)

Parameters

dependency_name string

The name of the package to search for

config string

Name of the configuration to use when searching for dependencies

See Also

getDependencies

Meta