What type of arguments can I pass to a setOperator() in Groovy?
Use this topic to understand the arguments you can pass using the standard operators in Groovy.
The types of argument you can pass to a setOperator() depends on the method's definition.
You can pass primitive types, objects, custom classes, closures, multiple arguments, varargs, or even named arguments (as a Map). You must verify the method signature to identify the argument type.