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.

IF()

Prev Next

Description

Returns the second argument if the first argument is true, or the third argument if the first argument is false

Available In

  • Apps
  • Automations
  • Analysis

Syntax

IF(condition: Boolean, valueIfTrue: T, valueIfFalse: T)

Example

IF(true, 1, 2) = 1
if(false, 1, 2) = 2