Skip to content

DataValueOutputBuilder

Refines a single-value result.

OutputBuilder.value

array(value?): this

Declares the result as an array of the value type.

boolean

Whether the result is an array.

this

This builder for chaining.

true

mandatory(value?): this

Marks the value as always present.

boolean

Whether the value is required.

this

This builder for chaining.

true

toDefinition(): ArrayOutputDefinition | DataTypeOutputDefinition

Emits the value output Definition.

ArrayOutputDefinition | DataTypeOutputDefinition