Ternary if operation. This is the equivalent of the ternary operator. It evaluates the first argument and returns the second if itâs true, or the third if itâs false.
rest: you can not use named parameters to call this, use it either with three arguments in the correct order (expression, true result, false result) or write it as in php (expression ? true result : false result)