OpenWGA 7.11 - TMLScript reference

WGA » WGA.List()
Method :

deleteDoublets()

On object WGA.List()
Usage

Removed doublets and returns the resulting list as WGAList object for further method chaining.

Return value

WGAList object with new values.

Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
Examples

WGA.List([1, 3, 2, 1, 3]).deleteDoublets()
//returns [1,2,3]