Groovy web console

subscribe to the feed Subscribe
to this
site

strings and booleans

Published 6 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'")
}