grails - How do I check instanceof [Ljava.lang.String? -


what [ljava.lang.string object can instanceof check on it?

params['specialtypeind[]'] instanceof *what goes here* 

params['specialtypeind[]'] array of strings. [ljava.lang.string class.

it's array, in particular case array of strings.

def = [1,2,] string[] assert instanceof string[] 

Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -