AND logical operator

Returns 1 when condition a and b are true.

Syntax

 condition a AND condition b 

Arguments

None

Examples

 TRUE AND TRUE  → 1 
 TRUE AND FALSE  → 0 
 4 = 2+2 AND 1 = 1  → 1 
 4 = 2+2 AND 1 = 2  → 0