AddToArray

Appends an element as a specific type, if specified, at the end of the array.

SYNTAX
AddToArray(obj, addAsType) 
ARGUMENTS

obj Object to add
addAsType Optional. Element type