OpenWGA 7.6 - TMLScript reference

Lookup table
Method :

isEmpty()

On object Lookup table
Usage Tests if the table is empty
Description An empty table is a table with no elements. This method will return false if any element is contained, even if its key or value may be regarded "empty".
Return value true, if the table contains no elements, false otherwise
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent