OpenWGA 7.10 - TMLScript reference
WGAObject:
WGA.List([otherList])
Description |
Creates a WGAList Object. Available since version 7.10.1 A list represents a dynamic amount of single values that have a defined order and are accessible via index numbers. Lists have a dynamic size. Elements can be added, inserted and deleted from the list. Their functionality is mostly equal to JavaScript arrays. They are effectively the TMLScript representation of the Java interface java.util.List. Lists can be used to create JavaScript iterators by passing them as argument to the Iterator() function. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Retrieval |
WGA.List() The List object can optionally be initialised with another list object: WGA.List(otherListObjectOrArray) |
||||||||||||||||||||||||||||||||||||||||||||||||||
Allowed in script types |
|
||||||||||||||||||||||||||||||||||||||||||||||||||
Inherits from object | List | ||||||||||||||||||||||||||||||||||||||||||||||||||
Properties and methods |
|
||||||||||||||||||||||||||||||||||||||||||||||||||
Examples |
WGA.List([1, 0, null, 3, 2, 1]) |