TemplateOutputBuilder
Refines a Template Definition result.
Methods
Section titled “Methods”array()
Section titled “array()”array(
value?):this
Declares the result as an array of Template Definitions.
Parameters
Section titled “Parameters”value?
Section titled “value?”boolean
Whether the result is an array.
Returns
Section titled “Returns”this
This builder for chaining.
Default Value
Section titled “Default Value”truemandatory()
Section titled “mandatory()”mandatory(
value?):this
Marks the Template as always present.
Parameters
Section titled “Parameters”value?
Section titled “value?”boolean
Whether the Template is required.
Returns
Section titled “Returns”this
This builder for chaining.
Default Value
Section titled “Default Value”truetoDefinition()
Section titled “toDefinition()”toDefinition():
ArrayOutputDefinition|TemplateOutputDefinition
Emits the Template output Definition.

