The <istrue> operator has one required attribute, value, which is the value to compare to the string true. This attribute can reference simple substitution variables.
The following examples show how <istrue> is used and the results:
The following statement evaluates to true.
<istrue value="True"/> |
The following statement evaluates to false.
<istrue value="yes"/> |
The following statement evaluates to true if var is true.
<istrue value=":[var]"/> |