Removes all values from the list that are not contained in the parameter list
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.
List of values that may remain in the list
true if the operation at least removed one value, false otherwise (Boolean)
|Allowed in script types||