OpenWGA 5.4 - TMLScript reference

Lists
Method :

list.isEmpty()

On object Lists
Usage Controls if the list is empty
Description A list is regarded empty when it contains no values.

A list containing any value - may it be null, empty or other whitespace strings - is not regarded empty.
Return value true if the list is empty, false otherwise (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent