Return a Constant for a specified index's element.
Note that this has to compute a new constant to return, so it isn't as efficient as getElementAsInteger/Float/Double.
The element at the given index as a Constant.
| Name | Description |
|---|---|
| i | The zero-based element index. |