Groovy web console

subscribe to the feed Subscribe
to this
site

Truthyness

Published 3 weeks ago by Ernesto Ojeda with tags string if else
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def foo = "false"

if(foo) {
  println "I am true"
} else {
  println "I am false"
}