Groovy web console

subscribe to the feed Subscribe
to this
site
strings and booleans (via #groovywebconsole)
tweet this snippet Tweet
this
script

strings and booleans

Published 3 months ago by Anonymous
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
if("false") {
    println("the string 'false' is truthy.")
}
if(true == 'true') {
    println("true and 'true' are 'the same'")
}