> ## Documentation Index
> Fetch the complete documentation index at: https://bazel-pr-29770.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

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