AND logical operator

Returns 1 when condition a and b are true.

Syntax

 condition a AND condition b 

Arguments

None

Example

 4 = 2+2 AND 1 = 1  → returns 1 
 4 = 2+2 AND 1 = 2  → returns 0