Back to Bazel

Bool

docs/versions/6.5.0/rules/lib/bool.mdx

9.1.0508 B
Original Source
<html devsite> <head> <meta name="project_path" value="/_project.yaml"> <meta name="book_path" value="/versions/6.5.0/_book.yaml"> </head> <body> <h1 class="page-title" id="modules.bool">bool</h1> <!-- {% raw %} -->

A type to represent booleans. There are only two possible values: <a href="globals.html#True">True</a> and <a href="globals.html#False">False</a>. Any value can be converted to a boolean using the <a href="globals.html#bool">bool</a> function.

</body> </html> <!-- {% endraw %} -->