Groovy web console

subscribe to the feed Subscribe
to this
site

Removing duplicate items from a list

Published 2 years ago by Andy Duncan with tags collections
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
def x = [1, 2, 3, 2]
x.unique()