Skip to main content

Set variable to TRUE

Anatomy

<true var="var" key="(no key)"/>

Description: TRUE sets the value of a variable to TRUE.

These three statements are semantically equivalent:

Attributes

NameTypeDescriptionDefined By
varvarVariable name true
keystringKey true

Results:

BindingTypePredicate
varboolN/A

Examples

Setting variable to TRUE

<true var="var"/>

Setting array item implicitly to TRUE

<true var="var[key]"/>

Setting array item explicitly to TRUE

<true var="var" key="key"/>