Skip to main content
Creates a struct with the specified field names and values. This function is supported from v3.1 onwards.

Syntax

Parameters

  • nameN: A STRING field.
  • valN: An expression of any type that specifies the value for field N. Values are nullable.
The expressions of names and values must be in pairs. Otherwise, the struct cannot be created. You must pass at least one pair of field name and value, separated by a comma (,).

Return value

Returns a STRUCT value.

Examples

References