[groovy] Groovy / grails how to determine a data type?