Boolean
Sometimes, it is necessary to combine several conditions into one, more complicated one.
It must be noted that each of these directives consider their input values in the same way as the flow-control directives:
- If the value is empty, it is false
- If the value is ‘0’, it is false
- If the value is ‘false’ (case-insensitive), it is false
- Any other value is true
In the following section, we describe an adequate set of operators with which any boolean expression may be represented: