OpenWGA 7.7 - TMLScript reference
ListMethod :
retainAll(list)
On object | List |
Usage |
Removes all values from the list that are not contained in the parameter list |
Description |
This method does the opposite operation of list.removeAll() in that only values may remain in the list that are also contained in the parameter list. Like list.contains() this method is case sensitive on strings. |
Parameters |
list (List): List of values that may remain in the list |
Return value |
true if the operation at least removed one value, false otherwise (Boolean) |
Allowed in script types |
|