blob: e38578ae63e0538d9cd5ceafc77dd527d65ffefa [file]
---
title: 'PackageSpecificationInfo'
---
Information about transitive package specifications used in package groups.
## Members
* [contains](#contains)
## contains
```
bool PackageSpecificationInfo.contains(target)
```
Checks if a target exists in a package group.
### Parameters
| Parameter | Description |
| --- | --- |
| `target` | [Label](/versions/8.6.0/rules/lib/builtins/Label); or [string](/versions/8.6.0/rules/lib/core/string); required A target which is checked if it exists inside the package group. |