---
title: "Booleans"
url: /docs/en-us/luau/booleans
last_updated: 2026-06-10T02:17:39Z
description: "Data type having a value of either true or false."
---

# Booleans

The **boolean** data type, or `bool`, has a value of either `true` or `false`.

## Conditionals

If a value isn't `false` or `nil`, Luau evaluates it as `true` in [conditional statements](/docs/en-us/luau/control-structures.md#if-statements). Unlike many other languages, Luau considers both zero and the empty string as `true`.

## Operators

You can formulate complex conditions with [relational](/docs/en-us/luau/operators.md#relational) and [logical](/docs/en-us/luau/operators.md#logical) operators.