IIF

If $1, return $2, else return $3.

Syntax

IIF($1, $2, $3)

Parameters

$1

Should evaluate to a boolean

$2

May be anything

$3

May be anything

Same as

CASE
	WHEN $1 THEN $2
	END $3
END