# Boolean Functions

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [cloud-data-platform-full.txt](https://docs.redpanda.com/cloud-data-platform-full.txt)

---
title: Boolean Functions
latest-operator-version: v26.1.4
latest-console-tag: v3.7.3
latest-connect-version: 4.93.0
latest-redpanda-tag: v26.1.9
docname: sql/sql-functions/boolean-functions/index
page-component-name: cloud-data-platform
page-version: master
page-component-version: master
page-component-title: Cloud
page-relative-src-path: sql/sql-functions/boolean-functions/index.adoc
page-edit-url: https://github.com/redpanda-data/cloud-docs/edit/main/modules/reference/pages/sql/sql-functions/boolean-functions/index.adoc
description: Reference for boolean functions and operators in Redpanda SQL.
page-git-created-date: "2026-05-26"
page-git-modified-date: "2026-05-26"
---

<!-- Source: https://docs.redpanda.com/cloud-data-platform/reference/sql/sql-functions/boolean-functions.md -->

-   [if](if-function/)

    The \`if()\` function returns one value if the condition is TRUE and another value if the condition is FALSE.

-   [IS DISTINCT FROM](is-distinct-from-operator/)

    The IS DISTINCT FROM operator compares two values and returns TRUE if they are different. NULLs are treated as comparable, so two NULLs are not distinct (returns FALSE).

-   [IS NOT DISTINCT FROM](is-not-distinct-from-operator/)

    The IS NOT DISTINCT FROM operator is a counterpart to IS DISTINCT FROM.