blob: f9ecfddbe36fe2c147002e9fa07d0baf4f2dc5ed [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/9.0.0/rules/lib/builtins/Label); or [string](/versions/9.0.0/rules/lib/core/string); required A target which is checked if it exists inside the package group. |