Both DictAtoms and
ArrayAtoms can contain
This function allows you to add an item to an ArrayAtom or
If the container Atom supplied is not a DictAtom or an ArrayAtom
then insertion will not be successful.
Entries in ArrayAtoms can be referenced by number. If the
container Atom supplied is an ArrayAtom and the index supplied is
within the bounds of the array then insertion will be successful.
If the index supplied is less than zero then the value Atom will be
added to the end of the array. Again insertion will be
Entries in DictAtoms can be referenced by name. If the container
Atom supplied is a DictAtom and the key supplied is not empty then
insertion will be successful.
If insertion was successful the function will return the Atom
which was added. If it was not successful it will return null.