def list = [0,1,2,3,4]def result = list.any{it == 0}println result
Standard input is empty
true
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!