Skip to main content
Bazel Documentation home page
HEAD
English
Search...
⌘K
Module Registry
Blog
Github
Search...
Navigation
PackageSpecificationInfo
Tutorials
How-to Guides
Reference
Explanation
Build Encyclopedia
Bazel BUILD Encyclopedia of Functions
C / C++ Rules
Java Rules
Python Rules
Objective-C Rules
Protocol Buffer Rules
Shell Rules
Common definitions
General Rules
Extra Actions Rules
Make Variables
Language Reference
Language
.bzl style guide
One-Page Overview
Global functions
Technical Specifications
Bazel Glossary
Skyframe
Build Event Protocol
Build Event Protocol Examples
Build Event Protocol Glossary
Recommended Rules
Remote Execution Services
Style Guides
BUILD Style Guide
Bazel docs style guide
Releases & Compatibility
Release
Rolling
Backward Compatibility
Rule Compatibility
Getting Help
Getting Help
Policy
On this page
Members
contains
Parameters
PackageSpecificationInfo
Information about transitive package specifications used in package groups.
Members
contains
contains
Copy
Ask AI
bool PackageSpecificationInfo.contains(target)
Checks if a target exists in a package group.
Parameters
ParameterDescription
target
Label
; or
string
; required
A target which is checked if it exists inside the package group.
⌘I