Groovy web console

subscribe to the feed Subscribe
to this
site

Get list size

Published 5 months ago by Valentin
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def x = ['one', 'two', 'three']
def n = x.size()

println n