Groovy web console

subscribe to the feed Subscribe
to this
site
null or empty (via #groovywebconsole)
tweet this snippet Tweet
this
script

null or empty

Published 11 months ago by Gabriel Bianchi with tags null empty collection list
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
Collection a = null

println !a

a = []

println !a

a = [1,2,3]

println !a