Skip to main content
Bazel Documentation home page
HEAD
English
Search...
⌘K
Ask AI
Module Registry
Blog
Github
Search...
Navigation
PackageSpecificationInfo
About Bazel
Getting started
User guide
Reference
Extending
Community
Why Bazel?
Intro to Bazel
Why Bazel?
Bazel Vision
Bazel roadmap
FAQ
Build system basics
Basics
Why a Build System?
Task-Based Build Systems
Artifact-Based Build Systems
Distributed Builds
Dependency Management
Hermeticity
On this page
Members
contains
Parameters
PackageSpecificationInfo
Information about transitive package specifications used in package groups.
Members
contains
contains
bool PackageSpecificationInfo.contains(target)
Checks if a target exists in a package group.
Parameters
Parameter
Description
target
Label
; or
string
; required A target which is checked if it exists inside the package group.
⌘I
Assistant
Responses are generated using AI and may contain mistakes.