| --- | |
| 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. | |