> For the complete documentation index, see [llms.txt](https://trizen.gitbook.io/sidef-lang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trizen.gitbook.io/sidef-lang/syntax_and_semantics/literals/bool.md).

# Bool

Bool has two possible values: `true` and `false`:

```ruby
true     # A Boolean value that is true
false    # A Boolean value that is false
```

Alternatively, one can write:

```ruby
Bool(1)     # true
Bool(0)     # false
```
