Noyzi!!a’s Blog


[groovy] check in list

Posted in groovy by Noyzi!!a on the June 25th, 2008

groovy> [1,2,3,4].contains(1)
Result: true
groovy> [1,2,3,4].contains(6)
Result: false

Leave a Reply