Function: copyList()
This function returns a new list with the same values as the supplied list.
If a single value is passed to this function, a list is returned containing only that value.
Syntax
copyList(array)
Argument | Type | Description |
---|---|---|
array | Array | List of values |
Examples
copyList(["apple",1,"John",NULL,"dog"])
returns ["apple",1,"John",NULL,"dog"]