at()
Get the Array element at a given index.
Description
The at()
method gets the Array element located at index.
The method is equivalent to using []
indexing, such that array.at(0)
returns the same element as array[0]
.
Return value
Type | Description |
---|---|
Value |
Array element located at index. |
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!