Groovy web console

subscribe to the feed Subscribe
to this
site
wtf Groovy (via #groovywebconsole)
tweet this snippet Tweet
this
script

wtf Groovy

Published 5 months ago by Anonymous
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
println 'test' as Boolean //true 
println 'test'.toBoolean() //false 
println new Boolean('test') //false