Shortcuts in Science
Wednesday, 30 January 2019
Test a Variable Defined in Groovy Runtime
Cited
How can I determine if a variable exists from within the Groovy code running in the Scripting Engine?
if (binding.hasVariable('superVariable')) {
// your code here
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment