OpenWGA 7.11 - TMLScript reference

List
Method :

contains(value)

On object List
Usage Controls if a value is contained in the list
Description This method is case sensitive on strings. list.contains("value") will not return true if only "Value" is contained.
Parameters value:
The value to test for
Return value true if the value is contained, false otherwise.
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent