copyList

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)

ArgumentTypeDescription
arrayArrayList of values

Examples

copyList(["apple",1,"John",NULL,"dog"])

returns ["apple",1,"John",NULL,"dog"]

See Also