Groovy web console

subscribe to the feed Subscribe
to this
site

find-result

Published 1 month ago by arciomau
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def list = [1, 2, 3, 4, 5] 
def result = list.find { it > 2 }
println result