Set variable to TRUE
XML
<true var="var" key="(no key)"/>
<true /> sets the value of a variable to <true />.
These three statements are semantically equivalent:
XML
<true var="var[key]"/>
<true var="var.key"/>
<true var="var" key="key"/>
Attributes
Results
| Binding | Type | Predicate |
|---|---|---|
| var | bool | N/A |
Examples
Setting variable to TRUE
XML
<true var="var"/>
Setting array item implicitly to TRUE
XML
<true var="var[key]"/>
Setting array item explicitly to TRUE
XML
<true var="var" key="key"/>