Type: Boolean

From Waltz
Jump to navigation Jump to search

The Boolean type represents a value with only two possible states; true and false. In programming, booleans are often used to represent something being turned on or off, something being true, or a yes/no situation.


There is no need to explicitly construct a Boolean, nor is there an explicit constructor. Assigning either true or false to a field or variable will set the state correctly.

Permitted Values

The Boolean type only allows two different values; true or false. Any other value will either be evaluated as false when working with booleans, or will be non-resolvable.

Primitive Bridging

The Boolean type exists both in Waltz's native context as well as in its Script Expressions. The values are inter-compatible with no need for bridging to convert the value.

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