Function: addElement()
Excerpt |
---|
Adds a value to the end of a list and returns the list. |
Syntax
Excerpt |
---|
addElement(list, value) |
Argument | Type | Description |
---|---|---|
list | Any | The list to which value should be added. If this argument is a variable which evaluates to null then a new list will be returned containing only value. If this argument is not a list but a single value then a new list will be returned containing this argument and value. |
value | Any | The item that should be added to list |
...