From 894a78a42676acb3d34b6af9e66c7f5fc1e72d8a Mon Sep 17 00:00:00 2001 From: Marmare314 <49279081+Marmare314@users.noreply.github.com> Date: Tue, 11 Apr 2023 13:56:43 +0200 Subject: [PATCH] add documentation for enumerate function (#664) --- docs/src/reference/types.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/src/reference/types.md b/docs/src/reference/types.md index 427b1a79b..816cc3911 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.