Template Engine language reference > General functions > type()

type()
The type() function returns the type of an object.
Example 33
#if($a.type()=='int')
#set($b=$a.toDouble()/2)
#elseif($a.type()=='double')
#set($b=$a/2)
#end
 
OpenText StreamServe 5.6.2 Updated: 2018-01-26