Skip to main content

Set variable to NULL

Anatomy

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

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

These three statements are semantically equivalent:

Attributes

NameTypeDescriptionDefined By
varvarVariable name null
keystringKey null

Results:

BindingTypePredicate
varnullN/A

Examples

Setting variable to NULL

<null var="var"/>

Setting array item implicitly to NULL

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

Setting array item explicitly to NULL

<null var="var" key="key"/>