STRUCT operator
The STRUCT operator creates a property that creates a structure.
Syntax
STRUCT(expr1, ..., exprN)
Description
The STRUCT operator creates a property whose value is the structure made up of the operand values, in the order they are listed.
Parameters
-
expr1, ..., exprNList of expressions whose values become the elements of the structure. The list cannot be empty.
Examples
objectStruct(a, b) = STRUCT(a, f(b));
stringStruct() = STRUCT(1, 'two', 3.0);