> For the complete documentation index, see [llms.txt](https://docs.discorddungeons.me/quest-editor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.discorddungeons.me/quest-editor/logic-blocks/boolean.md).

# Boolean Block

![True Block](https://602309350-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LNeYKoJ5VTmJdlF1rx1%2F-LNihKFQ2MXuem_lR31S%2F-LNihLsNKnfRIkPN8C2-%2Ftrue.jpg?generation=1538381940278491\&alt=media)

![False Block](https://602309350-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LNeYKoJ5VTmJdlF1rx1%2F-LNihKFQ2MXuem_lR31S%2F-LNihLsPntF2xtRConO-%2Ffalse.jpg?generation=1538381939298011\&alt=media)

The boolean block returns either true or false, depending on what is chosen by the user using the dropdown.

## Generated Code

**true**

```javascript
true;
```

**false**

```javascript
false;
```
