show / hide menu

Logical Operators 

Logical operators are used to perform logical operations. They are essential for decision making based on the conditions.

Here are the primary logical operators: 

&: This operator is used to check logical AND condition.

 |: This operator is used to check logical OR condition. 

<: This operator is used to check value is less than the value on right side. 

<=: This operator is used to check value is less than and equal to the value on right side. 

>: This operator is used to check greater than condition 

>=: This operator is used to check greater than equal to condition.