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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment