IMPORTANT: The Bazel docs have moved! Please update your bookmark to

You can read about the migration, and let us know what you think.

Extensions > API reference > bool


A type to represent booleans. There are only two possible values: True and False. Any value can be converted to a boolean using the bool function.