array.create
This function creates an array of primitive types from the specified items. All items must be of the same primitive types and must match the field type where this function is used. For example, string, integer.
Syntax
array.create(item1, item2)
Arguments
Argument |
Type |
Description |
---|---|---|
item1, item2 |
any |
Items from which the array needs to be created |
Returns
Type |
Description |
---|---|
array of type any |
An array of primitive types created from the specified entry. |
Examples
The function array.create("A","B","C")
returns ["A","B","C"]
.