OpenWGA 7.7 - TMLScript reference

List
Method :

equals(list)

On object List
Usage Tests two lists for equality
Description This compares this list for equality to the paramteter list. For two lists to be equal they must:
  • Have exactly the same values
  • at exactly the same order
Like list.contains() this method is case sensitive on strings.
Parameters list (Liste):
The list that is compared to this list
Return value true if the lists are considered equal, false otherwise (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent