From 66df130ca4c9217d137cba0778d33c8ff9349d33 Mon Sep 17 00:00:00 2001 From: bluebear94 Date: Sat, 29 Jul 2023 17:11:21 -0400 Subject: Add start parameter to array enumerate (#1818) --- docs/reference/types.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/reference/types.md b/docs/reference/types.md index 4150cc9b..d7cfaa65 100644 --- a/docs/reference/types.md +++ b/docs/reference/types.md @@ -892,6 +892,9 @@ The returned array consists of `(index, value)` pairs in the form of length-2 arrays. These can be [destructured]($scripting/#bindings) with a let binding or for loop. +- start: integer (named) + The index returned for the first pair of the returned list. + Defaults to `{0}`. - returns: array ### zip() -- cgit v1.2.3