summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarmare314 <49279081+Marmare314@users.noreply.github.com>2023-04-11 13:56:43 +0200
committerGitHub <noreply@github.com>2023-04-11 13:56:43 +0200
commit894a78a42676acb3d34b6af9e66c7f5fc1e72d8a (patch)
treef66aa5d18ed313144669543b753eaec7caed9043 /docs
parenta7dfed86c6134dc0a396267a73cee1a9489c9e05 (diff)
add documentation for enumerate function (#664)
Diffstat (limited to 'docs')
-rw-r--r--docs/src/reference/types.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/src/reference/types.md b/docs/src/reference/types.md
index 427b1a79..816cc391 100644
--- a/docs/src/reference/types.md
+++ b/docs/src/reference/types.md
@@ -526,6 +526,11 @@ Fails with an error if the index is out of bounds.
The index at which to retrieve the item.
- returns: any
+### enumerate()
+Returns an array of the values along with their indices.
+
+- returns: array
+
### push()
Add a value to the end of the array.