DataValueOutputBuilder
Refines a single-value result.
Methods
Section titled “Methods”array()
Section titled “array()”array(
value?):this
Declares the result as an array of the value type.
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 value as always present.
Parameters
Section titled “Parameters”value?
Section titled “value?”boolean
Whether the value is required.
Returns
Section titled “Returns”this
This builder for chaining.
Default Value
Section titled “Default Value”truetoDefinition()
Section titled “toDefinition()”toDefinition():
ArrayOutputDefinition|DataTypeOutputDefinition
Emits the value output Definition.

