Underline value in Groovy

What is the meaning of underline in a Groovy template?

if(_.isString(document.get....)) .... 
+8
groovy
source share
1 answer

_ is a valid identifier in Groovy (and Java)

I.e:

 def _ = 13 println _ 

Seal 13 . You will need to give a little more context to find out what _ sets up in a given situation.

+8
source share

All Articles