Type: Varargs

From Waltz
Jump to navigation Jump to search

The Varargs type is special indicator that means that the value can be any number of values, separated by commas.

For example, the Script Function Node defines a single function, run that accepts any number of parameters. All of the following expressions are valid calls to that run function.

$.scriptFunction.run(1);
$.scriptFunction.run(1, 2, 3);
$.scriptFunction.run();
Types
Primitives Boolean · Number · String
Objects Color · Dimension · DmxMultiverse · DmxUniverse · LocalInterface · Material · Point · RemoteAddress/IP · Scene · Time · Touch
Node Specific NdiSource · WoControlCue · WoHitTestResult · WoTimeline
Collections List · List of Lists · Map · Varargs
Special Any · Consumer · Expression · Null · Void