WMLScript » Logical » &&

Syntax:
&&

The && is the logical AND operator. This operator performs a Boolean test on two operands. If both operands are true, then a true is returned. If either or both operands is false, false is returned. If the first operand that is tested proves to be invalid, the second operand is not tested, and invalid is returned. Similarly, if the second operand is invalid, invalid is returned.

Examples

Code:
var result = op1 && op2;
Language(s): WML

See Also: