OpenWGA 7.10 - TMLScript reference

TMLContext "this"
Method :

hasOption(optionName)

On object TMLContext "this"
Usage Tests if an WebTML option of the given name is defined
Parameters

optionName (String):

The name of the option to test

Return value true if the option is defined (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions