array.create
This function creates an array of primitive types from the specified items. All items must be of the same primitive types. For example, string, integer, and so on and must match the field type where this function is used.
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 inputs. |
Examples
The function array.create("A","B","C") returns ["A","B","C"].