Type: Varargs

From Waltz
Revision as of 17:56, 18 February 2019 by Patrick Angle (talk | contribs) (Created page with "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 funct...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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