NULLIF()

Prev Next
This content is currently unavailable in Spanish. You are viewing the default (English) version.

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"