Reference

Control

If-else
Input One conditional argument (a) and two arguments of any type (b and c). The conditional argument must evaluate to a boolean. The other two arguments must evaluate to the same type.
Output If the condition is true, it returns the first argument. Otherwise it returns the second argument.
Try-catch
Input Two arguments, which must evaluate to the same type.
Output It returns the first argument unless it evaluates to an error, in which case, it returns the second argument.