|On object||TMLContext "this"|
Returns if the current TMLScript code is executed in the context of a WebTML request
This method is useful for global functions that need to determine if they are executed in a web environment or not, and therefor the environment will provide a different level of available functionalities.
This method will only return true, if the current script is either executed directly on the WebTML page or in a normal WebTML action. Both have full access to the environment of this request.
|Allowed in script types||