Creates a new array populated with any arguments that have been passed to the function.
array()
returns array
Name | Type | Required | Default | Description |
---|---|---|---|---|
values | any | No | One or more values that can be used in the initialization of the array. |
Creates and dump a new array.
exampleArray = Array("example-string", 1, {structExample = "value"}, [1,2,3]);
dump(exampleArray);
Creates and dump a new array.
exampleArray = ["example-string", 1, {structExample = "value"}, [1,2,3]];
dump(exampleArray);