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