returns an adderWidget whose singleton element is myWidget.
Details
Input
Output
Messages
InvalidWidget
The given widget does not match WidgetP. Please reformat your input.
Examples
Basic Examples(3)
Create an Adder widget, using an Enumeration widget as the singleton:
Create an Adder widget, using a Number widget as the singleton:
Create an Adder widget, using a Tuple widget as the singleton:
Messages(1)
InvalidWidget(1)
When the singleton widget inside of the adder does not match WidgetP, a message is thrown. In the following example, the labels are missing from the tuple widget: