SelectedVersions.getSelectedVersion

Returns the selection for a particular package.

Note that the returned Dependency can either have the Dependency.path property set to a non-empty value, in which case this is a path based selection, or its Dependency.version_ property is valid and it is a version selection.

class SelectedVersions
const
getSelectedVersion
(
string packageId
)

Meta