Zum Hauptinhalt springen

Type of variable

Anatomy

<typeof var="var" var_result="var"/>

Description: TYPEOF returns the intrinsic data type of a variable.

Attributes

NameTypeDescriptionDefined By
varvarVariable name typeof
var_resultvarResult variable name typeof

Results:

BindingTypePredicate
var_resultstringN/A

Examples

Example

<set var="name">iXML</set>
<typeof var="name" var_result="type"/>

<if value1="$type" func="=" value2="string">
<output>My name is a string!</output>
</if>

<!-- My name is a string! -->