Skip to main content
If expr1 evaluates to TRUE, returns expr2. Otherwise, returns expr3.

Syntax

Parameters

expr1: the condition. It must be a BOOLEAN value. expr2 and expr3 must be compatible in data type.

Return value

The return value has the same type as expr2.

Examples

Text