Skip to main content
Version: 6.x

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 will be a structure created from the objects passed.

Parameters

  • expr1, ..., exprN

    List of expressions whose values will be elements of the structure. The list cannot be empty.

Examples

objectStruct(a, b) = STRUCT(a, f(b));
stringStruct() = STRUCT(1, 'two', 3.0);