Both DictAtoms and ArrayAtoms can contain other
Atoms.
This function allows you to get an item from an ArrayAtom or
DictAtom.
Entries in ArrayAtoms can be referenced by number. If the
supplied atom is not an ArrayAtom or if it is null or if the index
is outside the bounds of the array then null will be returned.
Entries in DictAtoms can be referenced by name or by number. If
the supplied atom is not a DictAtom or if it is null or if the name
is not a key in the dictionary or if the index is outside the bounds
of the dictionary then null will be returned.
|