and

operator

Return type: Switch
Returns:       True or false.

Syntax
test expression and test expression 
    


Purpose

Boolean and operator. If all of its argument expressions evaluate to true, a value of true will result. When any test in the group evaluates to false, no further tests are performed and a value of false will result.

Usage example:

  do when a < b and c < d
  ...
  done

Related Syntax
Related Concepts