在groovy:
println 'test' as Boolean //true println 'test'.toBoolean() //false println new Boolean('test') //false
任何人都可以澄清这种行为吗?
groovy
groovy ×1