Logic
AND
Boolean AND operator will be true if and only all the operators are true
.
Expression:
<boolean
> AND <boolean
>
Return:
boolean
Example of usage:
OR
Boolean OR operator will be true if and only the conjunction of all the operators is true
.
Expression:
<boolean
> OR <boolean
>
Return:
boolean
Example of usage:
IF
IF the condition evaluates to true THEN the result equals the first expression
; ELSE, the second expression
will proceed.
Expression:
IF(expression: boolean, then: any, else: any)
Return:
then: any || else: any
Example of usage:
Switch
Returns first expression where the value matches appropriate right operand.
Expression:
SWITCH(value: any[, switchOperand: number, expression: any ], default?: any)
Return:
any
Example of usage:
Last updated