---
title: "NULLIF()"
slug: "nullif"
updated: 2025-10-14T16:28:30Z
published: 2025-11-19T15:54:21Z
canonical: "support.tulip.co/nullif"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.tulip.co/llms.txt
> Use this file to discover all available pages before exploring further.

# NULLIF()

## Description

Returns null if the first argument equals the second argument, otherwise returns the first argument

## Available In

- **Apps**
- **Automations**
- **Analysis**

## Syntax

NULLIF(a: T, b: T) => T

## Example

NULLIF("a", "a") = null nullif("a","b") = "a"
