---
title: Boolean
description: Reference for the Boolean type.
---

# Boolean

A boolean can be `true` or `false`.

The following operations are supported for booleans:

- `&&`: logical AND
- `||`: logical OR
- `!`: logical NOT

:::note
Booleans in Nextflow can be backed by any of the following Java types: `boolean`, `Boolean`.
:::
