NULLIF()

Prev Next

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"