Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Groovy 模板中的下划线是什么意思?
if(_.isString(document.get....)) ....
_是 Groovy(和 Java)中的有效标识符
_
即:这个:
def _ = 13 println _
打印13。您必须提供更多背景信息才能了解_您给定情况下的设置
13